When overridden in a derived class, gets the current value of the property on a component.
Public MustOverride Function GetValue ( _ component As Object _ ) As Object
Dim instance As PropertyDescriptor Dim component As Object Dim returnValue As Object returnValue = instance.GetValue(component)
public abstract Object GetValue( Object component )
public: virtual Object^ GetValue( Object^ component ) abstract
public abstract function GetValue( component : Object ) : Object
Typically, this method is implemented through reflection.
This method automatically calls the pre-change method, OnComponentChanging, and post-change method, OnComponentChanged, of the IComponentChangeService.
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune