Cmdlet.OptionalCommonParameters Property
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.
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)