ParameterSetMetadata Members

Represents the metadata for a parameter that belongs to a parameter set. A parameter can have different metadata for each parameter set that it belongs to. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the ParameterSetMetadata type.

  Name Description
public property HelpMessage Gets and sets the Help message that describes the parameter for this parameter set. This property is introduced in Windows PowerShell 2.0.
public property HelpMessageBaseName Gets and sets the location of the resource identifiers of the parameter for this parameter set, such as a resource assembly that contains the Help messages used for localization. This property is introduced in Windows PowerShell 2.0.
public property HelpMessageResourceId Gets and sets the resource identifier of the Help message of the parameter for this parameter set. This identifier is typically used when localizing the message. This property is introduced in Windows PowerShell 2.0.
public property IsMandatory Gets and sets a Boolean value that indicates whether the parameter is mandatory for this parameter set.
public property Position Gets and sets the position of the parameter, if it is a positional parameter, for this parameter set.
public property ValueFromPipeline Gets and sets a Boolean value that indicates whether the parameter for this parameter set accepts values from incoming pipeline objects.
public property ValueFromPipelineByPropertyName Gets and sets a Boolean value that indicates whether the parameter for this parameter set accepts values from a property in the incoming pipeline object that has the same name as the parameter. This property is introduced in Windows PowerShell 2.0.
public property ValueFromRemainingArguments 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.
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodFinalize  (Inherited from Object)
protected methodMemberwiseClone  (Inherited from Object)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show: