次の方法で共有


ParameterAttribute.ValueFromPipelineByPropertyName Property

Definition

Gets or sets a flag that specifies that this parameter can take values from a property in the incoming pipeline object with the same name as the parameter or an alias of the parameter. When it is not specified, false is assumed.

public:
 property bool ValueFromPipelineByPropertyName { bool get(); void set(bool value); };
public:
 property bool ValueFromPipelineByPropertyName { bool get(); void set(bool value); };
public bool ValueFromPipelineByPropertyName { get; set; }
member this.ValueFromPipelineByPropertyName : bool with get, set
Public Property ValueFromPipelineByPropertyName As Boolean

Property Value

Applies to