Udostępnij za pośrednictwem


AstToWorkflowConverter.GetActivityParameters(CommandAst) Method

Definition

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.

Applies to