다음을 통해 공유


ParameterMetadata Class

Definition

This class represents the compiled metadata for a parameter.

public ref class ParameterMetadata sealed
public sealed class ParameterMetadata
type ParameterMetadata = class
Public NotInheritable Class ParameterMetadata
Inheritance
ParameterMetadata

Constructors

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, Type)

Constructs a ParameterMetadata instance.

ParameterMetadata(String)

Constructs a ParameterMetadata instance.

Properties

Aliases

Specifies the alias names for this parameter.

Attributes

A collection of the attributes found on the member.

IsDynamic

Specifies if the parameter is Dynamic.

Name

Gets the name of the parameter.

ParameterSets

Gets the ParameterSets metadata that this parameter belongs to.

ParameterType

Gets the Type information of the Parameter.

SwitchParameter

Specifies if the parameter is a SwitchParameter.

Methods

GetParameterMetadata(Type)

Gets a dictionary of parameter metadata for the supplied type.

Applies to