Dela via


ParameterSetMetadata Class

Definition

This class represents the compiled metadata for a parameter set.

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

Properties

HelpMessage

A short description for this parameter, suitable for presentation as a tool tip.

HelpMessageBaseName

The base name of the resource for a help message.

HelpMessageResourceId

The Id of the resource for a help message.

IsMandatory

Returns true if the parameter is mandatory for this parameterset, false otherwise.

Position

If the parameter is allowed to be positional for this parameter set, this returns the position it is allowed to be in. If it is not positional, this returns int.MinValue.

ValueFromPipeline

Specifies that this parameter can take values from the incoming pipeline object.

ValueFromPipelineByPropertyName

Specifies that this parameter can take values from a property from the incoming pipeline object with the same name as the parameter.

ValueFromRemainingArguments

Specifies if this parameter takes all the remaining unbound arguments that were specified.

Applies to