NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PropertyDescriptor.GetValue

When overridden in a derived class, gets the current value of the property on a component.

[Visual Basic]
MustOverride Public Function GetValue( _
   ByVal component As Object _
) As Object
[C#]
public abstract object GetValue(
   object component
);
[C++]
public: virtual Object* GetValue(
   Object* component
) = 0;
[JScript]
public abstract function GetValue(
   component : Object
) : Object;

Parameters

component
The component with the property whose value will be retrieved.

Return Value

The value of a property for a given component.

Remarks

Typically, this method is implemented through reflection.

Notes to Inheritors: When you override this method, it should get the current value of the property by invoking the appropriate Get XXX method. An exception in the Get XXX method should pass through.

See Also

PropertyDescriptor Class | PropertyDescriptor Members | System.ComponentModel Namespace