RuntimeDefinedParameter
Class
Definition
Represents a parameter declaration that can be constructed at runtime.
public class RuntimeDefinedParameter
- Inheritance
-
RuntimeDefinedParameter
Remarks
Instances of RuntimeDefinedParameterDictionary should be returned to cmdlet implementations of GetDynamicParameters().
It is permitted to subclass <xref href="System.Management.Automation.RuntimeDefinedParameter"></xref>
but there is no established scenario for doing this, nor has it been tested.
Constructors
| RuntimeDefinedParameter() |
Constructs a runtime-defined parameter instance. |
| RuntimeDefinedParameter(String, Type, Collection<Attribute>) |
Constructs a new instance of a runtime-defined parameter using the specified parameters. |
Properties
| Attributes |
Gets or sets the attribute collection that describes the parameter. |
| IsSet |
Gets or sets whether this parameter value has been set. |
| Name |
Gets or sets the name of the parameter |
| ParameterType |
Gets or sets the type of the parameter. |
| Value |
Gets or sets the value of the parameter. |