[This is preliminary documentation and is subject to change.]
Expand and compile the script to check if the syntax is OK.
This is a "standalone" method. Use this when no Session object is available.
| C# | Visual Basic | Visual C++ |
public static bool ExpandAndCompile( string scriptFullFileName, out string includeAndCompileErrors )
Public Shared Function ExpandAndCompile ( _ scriptFullFileName As String, _ <OutAttribute> ByRef includeAndCompileErrors As String _ ) As Boolean
public: static bool ExpandAndCompile( String^ scriptFullFileName, [OutAttribute] String^% includeAndCompileErrors )
- scriptFullFileName (String)
- The full script file name.
- includeAndCompileErrors ( String %)
- String containing include and compile errors if existing.
Boolean indicating if the script is correct.