共用方式為


ActivityParameter Class

Definition

Definition of the activity parameter.

public class ActivityParameter
type ActivityParameter = class
Public Class ActivityParameter
Inheritance
ActivityParameter

Constructors

ActivityParameter()

Initializes a new instance of the ActivityParameter class.

Properties

IsDynamic

Optional. Gets or sets a Boolean value that indicates true if the parameter is dynamic.

IsMandatory

Optional. Gets or sets a Boolean value that indicates true if the parameter is required. If the value is false, the parameter is optional.

Name

Optional. Gets or sets the name of the activity parameter.

Position

Optional. Gets or sets the position of the activity parameter.

Type

Optional. Gets or sets the type of the activity parameter.

ValueFromPipeline

Optional. Gets or sets a Boolean value that indicates true if the parameter can take values from the incoming pipeline objects. This setting is used if the cmdlet must access the complete input object. false indicates that the parameter cannot take values from the complete input object.

ValueFromPipelineByPropertyName

Optional. Gets or sets a Boolean value that indicates true if the parameter can be filled from a property of the incoming pipeline object that has the same name as this parameter. false indicates that the parameter cannot be filled from the incoming pipeline object property with the same name.

ValueFromRemainingArguments

Optional. Gets or sets a Boolean value that indicates true if the cmdlet parameter accepts all the remaining command-line arguments that are associated with this parameter in the form of an array. false if the cmdlet parameter does not accept all the remaining argument values.

Applies to