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!

ICustomTypeDescriptor.GetProperties (MemberAttribute[])

Retrieves an array of properties that the given component instance provides. This may differ from the set of properties the class provides. If the component is sited, the site may add or remove additional properties. The returned array of properties will be filtered by the given set of attributes.

[Visual Basic]
Overloads Function GetProperties( _
   ByVal attributes() As MemberAttribute _
) As PropertyDescriptorCollection
[C#]
PropertyDescriptorCollection GetProperties(
   MemberAttribute[] attributes
);
[C++]
PropertyDescriptorCollection* GetProperties(
   MemberAttribute* attributes[]
) = 0;
[JScript]
function GetProperties(
   attributes : MemberAttribute[]
) : PropertyDescriptorCollection;

Parameters

attributes
A set of attributes to use as a filter. If a MemberAttribute instance is specified and the property does not have an instance of that attribute's class, this will still include the property if the MemberAttribute is the same as it's Default property.

Return Value

an array of properties this component surfaces that match the given set of attributes..

See Also

ICustomTypeDescriptor Interface | ICustomTypeDescriptor Members | System.ComponentModel Namespace | ICustomTypeDescriptor.GetProperties Overload List