共用方式為


Cmdlet.OptionalCommonParameters Property

Definition

Lists the common parameters that are added by the PowerShell engine when a cmdlet defines additional capabilities (SupportsShouldProcess, SupportsTransactions)

public:
 static property System::Collections::Generic::HashSet<System::String ^> ^ OptionalCommonParameters { System::Collections::Generic::HashSet<System::String ^> ^ get(); };
public static System.Collections.Generic.HashSet<string> OptionalCommonParameters { get; }
static member OptionalCommonParameters : System.Collections.Generic.HashSet<string>
Public Shared ReadOnly Property OptionalCommonParameters As HashSet(Of String)

Property Value

Applies to