AstToWorkflowConverter.GetActivityParameters(CommandAst) 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.
Returns the parameters of the activity called by the commandAst
.
public:
static System::Collections::Generic::Dictionary<System::String ^, Type ^> ^ GetActivityParameters(System::Management::Automation::Language::CommandAst ^ commandAst);
public static System.Collections.Generic.Dictionary<string,Type> GetActivityParameters (System.Management.Automation.Language.CommandAst commandAst);
static member GetActivityParameters : System.Management.Automation.Language.CommandAst -> System.Collections.Generic.Dictionary<string, Type>
Public Shared Function GetActivityParameters (commandAst As CommandAst) As Dictionary(Of String, Type)
Parameters
- commandAst
- CommandAst
The ast representing the command called
Returns
The parameters with their corresponding types, or null if the parameters cannot be found.