Delen via


InvocationInfo.Create(CommandInfo, IScriptExtent) Method

Definition

Create.

public:
 static System::Management::Automation::InvocationInfo ^ Create(System::Management::Automation::CommandInfo ^ commandInfo, System::Management::Automation::Language::IScriptExtent ^ scriptPosition);
public static System.Management.Automation.InvocationInfo Create (System.Management.Automation.CommandInfo commandInfo, System.Management.Automation.Language.IScriptExtent scriptPosition);
static member Create : System.Management.Automation.CommandInfo * System.Management.Automation.Language.IScriptExtent -> System.Management.Automation.InvocationInfo
Public Shared Function Create (commandInfo As CommandInfo, scriptPosition As IScriptExtent) As InvocationInfo

Parameters

commandInfo
CommandInfo
scriptPosition
IScriptExtent

Returns

Applies to