ParameterAttribute Properties

  Name Description
public property DontShow  
public property HelpMessage Gets and sets a short description of the parameter.
public property HelpMessageBaseName Gets and sets the name of the location in which the resource identifiers reside. For example, this property gets or sets the name of resource assembly that contains Help messages for localization.
public property HelpMessageResourceId Gets and sets the resource identifier for the Help message for the parameter.
public property Mandatory Gets and sets a Boolean value that indicates whether the parameter is required when the cmdlet or function is run.
public property ParameterSetName Gets and sets the name of the parameter set to which this parameter belongs.
public property Position Gets and sets the position of the parameter in the command-line string.
public property TypeId  (Inherited from Attribute)
public property ValueFromPipeline Gets and sets a Boolean value that indicates whether the parameter can take values from incoming pipeline objects.
public property ValueFromPipelineByPropertyName Gets and sets a Boolean value that indicates that the parameter can take values from a property of the incoming pipeline object that has the same name as this parameter. For example, if the name of the cmdlet or function parameter is userName, the parameter can take values from the userName property of incoming objects.
public property ValueFromRemainingArguments Gets and sets a Boolean value that indicates whether the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter.

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft