ParameterMetadata ParameterMetadata ParameterMetadata Constructors

Definition

Overloads

ParameterMetadata(ParameterMetadata) ParameterMetadata(ParameterMetadata) ParameterMetadata(ParameterMetadata)

A copy constructor that creates a deep copy of the other ParameterMetadata object. Instances of Attribute and Type classes are copied by reference.

ParameterMetadata(String) ParameterMetadata(String) ParameterMetadata(String)

Constructs a ParameterMetadata instance.

ParameterMetadata(String, Type) ParameterMetadata(String, Type) ParameterMetadata(String, Type)

Constructs a ParameterMetadata instance.

ParameterMetadata(ParameterMetadata) ParameterMetadata(ParameterMetadata) ParameterMetadata(ParameterMetadata)

A copy constructor that creates a deep copy of the other ParameterMetadata object. Instances of Attribute and Type classes are copied by reference.

public ParameterMetadata (System.Management.Automation.ParameterMetadata other);
new System.Management.Automation.ParameterMetadata : System.Management.Automation.ParameterMetadata -> System.Management.Automation.ParameterMetadata
Public Sub New (other As ParameterMetadata)
Parameters

ParameterMetadata(String) ParameterMetadata(String) ParameterMetadata(String)

Constructs a ParameterMetadata instance.

public ParameterMetadata (string name);
new System.Management.Automation.ParameterMetadata : string -> System.Management.Automation.ParameterMetadata
Public Sub New (name As String)
Parameters
name
String String String

Name of the parameter.

Exceptions

ParameterMetadata(String, Type) ParameterMetadata(String, Type) ParameterMetadata(String, Type)

Constructs a ParameterMetadata instance.

public ParameterMetadata (string name, Type parameterType);
new System.Management.Automation.ParameterMetadata : string * Type -> System.Management.Automation.ParameterMetadata
Public Sub New (name As String, parameterType As Type)
Parameters
name
String String String

Name of the parameter.

parameterType
Type Type Type

Type of the parameter.

Exceptions

Applies to