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!

PointConverter.GetProperties

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;

Parameters

context
A type descriptor through which additional context may be provided.
value
The value of the object to get the properties for.
attributes
[To be supplied.]

Return Value

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.

See Also

PointConverter Class | PointConverter Members | System.Drawing Namespace