Returns a collection of properties for the type of array specified by the value parameter, using the specified context.
Public Function GetProperties ( _ context As ITypeDescriptorContext, _ value As Object _ ) As PropertyDescriptorCollection
Dim instance As TypeConverter Dim context As ITypeDescriptorContext Dim value As Object Dim returnValue As PropertyDescriptorCollection returnValue = instance.GetProperties(context, _ value)
public PropertyDescriptorCollection GetProperties( ITypeDescriptorContext context, Object value )
public: PropertyDescriptorCollection^ GetProperties( ITypeDescriptorContext^ context, Object^ value )
public function GetProperties( context : ITypeDescriptorContext, value : Object ) : PropertyDescriptorCollection
Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be nullNothingnullptra null reference (Nothing in Visual Basic), so always check it. Also, properties on the context object can return nullNothingnullptra null reference (Nothing in Visual Basic).
As implemented in this class, this method always returns nullNothingnullptra null reference (Nothing in Visual Basic).
By default, a type does not return properties. An easy implementation of this method can call GetProperties for the correct data type.
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