Export (0) Print
Expand All

ParameterSetMetadata.ValueFromRemainingArguments Property

Gets and sets a Boolean value that indicates whether the parameter for this parameter set accepts all the remaining command-line arguments that are associated with this parameter. This property is introduced in Windows PowerShell 2.0.


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

'Usage
Dim instance As ParameterSetMetadata
Dim value As Boolean

value = instance.ValueFromRemainingArguments

instance.ValueFromRemainingArguments = value

public bool ValueFromRemainingArguments { get; set; }
/** @property */
public boolean get_ValueFromRemainingArguments ()

/** @property */
public void set_ValueFromRemainingArguments (boolean value)

public function get ValueFromRemainingArguments () : boolean

public function set ValueFromRemainingArguments (value : boolean)

Property Value

A Boolean value that indicates true if the parameter for this parameter set accepts all the remaining command-line arguments that are associated with this parameter; otherwise false is returned.

The information provided by this class is accessed through the ParameterMetadata.ParameterSets property.

For more information about declaring parameters, see Parameter Attribute Declaration.

For more information about cmdlet parameters, see Cmdlet Parameters.


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