Retrieves the set of properties for this type. By default, a type has does not return any properties. An easy implementation of this method can just call TypeDescriptor.GetProperties for the correct data type.
[Visual Basic] Overrides Public Function GetProperties( _ ByVal context As ITypeDescriptorContext, _ ByVal value As Object, _ ByVal attributes() As MemberAttribute _ ) As PropertyDescriptorCollection [C#] public override PropertyDescriptorCollection GetProperties( ITypeDescriptorContext context, object value, MemberAttribute[] attributes ); [C++] public: override PropertyDescriptorCollection* GetProperties( ITypeDescriptorContext* context, Object* value, MemberAttribute* attributes[] ); [JScript] public override function GetProperties( context : ITypeDescriptorContext, value : Object, attributes : MemberAttribute[] ) : PropertyDescriptorCollection;
The set of properties that should be exposed for this data type. If no properties should be exposed, thsi may return null. The default implementation always returns null.
SizeConverter Class | SizeConverter Members | System.Drawing Namespace