PSPropertyExpression.GetValues Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetValues(PSObject) |
Gets the values of the object properties matched by this expression. |
GetValues(PSObject, Boolean, Boolean) |
Gets the values of the object properties matched by this expression. |
GetValues(PSObject)
Gets the values of the object properties matched by this expression.
public System.Collections.Generic.List<Microsoft.PowerShell.Commands.PSPropertyExpressionResult> GetValues (System.Management.Automation.PSObject target);
member this.GetValues : System.Management.Automation.PSObject -> System.Collections.Generic.List<Microsoft.PowerShell.Commands.PSPropertyExpressionResult>
Public Function GetValues (target As PSObject) As List(Of PSPropertyExpressionResult)
Parameters
- target
- PSObject
The object to match against.
Returns
Applies to
GetValues(PSObject, Boolean, Boolean)
Gets the values of the object properties matched by this expression.
public System.Collections.Generic.List<Microsoft.PowerShell.Commands.PSPropertyExpressionResult> GetValues (System.Management.Automation.PSObject target, bool expand, bool eatExceptions);
member this.GetValues : System.Management.Automation.PSObject * bool * bool -> System.Collections.Generic.List<Microsoft.PowerShell.Commands.PSPropertyExpressionResult>
Public Function GetValues (target As PSObject, expand As Boolean, eatExceptions As Boolean) As List(Of PSPropertyExpressionResult)
Parameters
- target
- PSObject
The object to match against.
- expand
- Boolean
If the matched properties are parameter sets, expand them.
- eatExceptions
- Boolean
If true, any exceptions that occur during the match process are ignored.