PSCmdlet.ParameterSetName Property

Gets the name of the parameter set that is used by the cmdlet.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSCmdlet
Dim value As String

value = instance.ParameterSetName

public string ParameterSetName { get; }
/** @property */
public String get_ParameterSetName ()

public function get ParameterSetName () : String

Property Value

The name of the parameter set that is used by the cmdlet.

Cmdlets can specify any number of parameter sets when the cmdlet specifies its parameters. For more information about specifying a parameter set while declaring parameters, see ParameterAttribute Declaration.

For more information about cmdlets, see Windows PowerShell Cmdlets.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft