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)

'Usage
Dim instance As PSObjectPropertyDescriptor
Dim component As Object
Dim returnValue As Object

returnValue = instance.GetValue(component)

public:
virtual Object^ GetValue (
	Object^ component
) override
public Object GetValue (
	Object component
)
public override function GetValue (
	component : Object
) : Object

Parameters

component

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
ExtendedTypeSystemException

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

PSArgumentNullException

The component parameter is null.

PSArgumentException

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