AstToXamlConverter.Validate(FunctionDefinitionAst) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates a PowerShell AST as a valid workflow.
public:
static System::Collections::Generic::List<System::Management::Automation::Language::ParseError ^> ^ Validate(System::Management::Automation::Language::FunctionDefinitionAst ^ ast);
public static System.Collections.Generic.List<System.Management.Automation.Language.ParseError> Validate (System.Management.Automation.Language.FunctionDefinitionAst ast);
static member Validate : System.Management.Automation.Language.FunctionDefinitionAst -> System.Collections.Generic.List<System.Management.Automation.Language.ParseError>
Public Shared Function Validate (ast As FunctionDefinitionAst) As List(Of ParseError)
Parameters
The PowerShell AST to convert