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!

TypeDescriptor.GetProperties (Type, MemberAttribute[])

Gets a collection of properties for a specified type of component using a specified array of attributes as a filter.

[Visual Basic]
Overloads Public Shared Function GetProperties( _
   ByVal componentType As Type, _
   ByVal attributes() As MemberAttribute _
) As PropertyDescriptorCollection
[C#]
public static PropertyDescriptorCollection GetProperties(
   Type componentType,
   MemberAttribute[] attributes
);
[C++]
public: static PropertyDescriptorCollection* GetProperties(
   Type* componentType,
   MemberAttribute* attributes[]
);
[JScript]
public static function GetProperties(
   componentType : Type,
   attributes : MemberAttribute[]
) : PropertyDescriptorCollection;

Parameters

componentType
A Type that represents the component to get properties for.
attributes
An array of type MemberAttribute to use as a filter.

Return Value

A PropertyDescriptorCollection with the properties that match the specified attributes for this type of component.

Remarks

Call this version of this method only when you do not have an instance of the object.

The attributes array can have a mix of Type and MemberAttribute objects. Filtering is defined by the following rules:

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetProperties Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | PropertyDescriptorCollection | MemberAttribute