This topic has not yet been rated - Rate this topic

ParameterSetMetadata.ValueFromPipelineByPropertyName Property

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.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
'Usage
Dim instance As ParameterSetMetadata
Dim value As Boolean

value = instance.ValueFromPipelineByPropertyName

instance.ValueFromPipelineByPropertyName = value
public bool ValueFromPipelineByPropertyName { get; set; }
/** @property */
public boolean get_ValueFromPipelineByPropertyName ()

/** @property */
public void set_ValueFromPipelineByPropertyName (boolean value)

public function get ValueFromPipelineByPropertyName () : boolean

public function set ValueFromPipelineByPropertyName (value : boolean)

Property Value

A Boolean value that indicates true if the parameter for this parameter set accepts values from a property in the incoming pipeline object that has the same name as the parameter; otherwise false is returned.

The information provided by this class is accessed through the ParameterMetadata.ParameterSets property.

For more information about declaring parameters, see Parameter Attribute Declaration.

For more information about cmdlet parameters, see Cmdlet Parameters.


Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.