Export (0) Print
Expand All

PSObjectPropertyDescriptor.GetValue Method

Gets the current value of the property.

Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As PSObjectPropertyDescriptor
Dim component As Object
Dim returnValue As Object

returnValue = instance.GetValue(component)

Public Overrides Function GetValue ( _
	component As Object _
) As Object
public Object GetValue (
	Object component
public override function GetValue (
	component : Object
) : Object



The adapted object or PSObject object whose property value is retrieved.

Return Value

The value of the adapted object or PSObject object property.

Exception typeCondition

The property cannot be found or the component threw an exception. For more information, see the Remarks section.


The component parameter is null.


The component parameter not a PSObject or PSObjectTypeDescriptor object.

The ExtendedTypeSystemException exception is thrown under the following conditions:

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.
© 2014 Microsoft