Descriptor. Get Value(Object) Method
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.
When overridden in a derived class, gets the current value of the property on a component.
public: abstract System::Object ^ GetValue(System::Object ^ component);
public abstract object GetValue (object component);
public abstract object? GetValue (object? component);
abstract member GetValue : obj -> obj
Public MustOverride Function GetValue (component As Object) As Object
The component with the property for which to retrieve the value.
The value of a property for a given component.
Typically, this method is implemented through reflection.
Notes to Implementers
When you override this method, it gets the current value of the property by invoking a "GetMyProperty" method that you need to implement. An exception in that method should pass through.