共用方式為


CmdletAdapter<TObjectInstance>.Initialize Method

Definition

Class constructor.

public:
 void Initialize(System::Management::Automation::PSCmdlet ^ cmdlet, System::String ^ className, System::String ^ classVersion, Version ^ moduleVersion, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ privateData);
public void Initialize (System.Management.Automation.PSCmdlet cmdlet, string className, string classVersion, Version moduleVersion, System.Collections.Generic.IDictionary<string,string> privateData);
member this.Initialize : System.Management.Automation.PSCmdlet * string * string * Version * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub Initialize (cmdlet As PSCmdlet, className As String, classVersion As String, moduleVersion As Version, privateData As IDictionary(Of String, String))

Parameters

cmdlet
PSCmdlet
className
String
classVersion
String
moduleVersion
Version
privateData
IDictionary<String,String>

Applies to