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.GetAttributes (Type)

Gets a collection of attributes for the specified type of component.

[Visual Basic]
Overloads Public Shared Function GetAttributes( _
   ByVal componentType As Type _
) As MemberAttributeCollection
[C#]
public static MemberAttributeCollection GetAttributes(
   Type componentType
);
[C++]
public: static MemberAttributeCollection* GetAttributes(
   Type* componentType
);
[JScript]
public static function GetAttributes(
   componentType : Type
) : MemberAttributeCollection;

Parameters

componentType
A Type that represents the class of the component to get the attribute for.

Return Value

A MemberAttributeCollection with the attributes for the type of the component. If the component is a null reference (in Visual Basic Nothing), this method returns an empty collection.

Remarks

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

See Also

TypeDescriptor Class | TypeDescriptor Members | System.ComponentModel Namespace | TypeDescriptor.GetAttributes Overload List | TypeDescriptor | EventDescriptor | PropertyDescriptor | MemberAttribute | MemberAttributeCollection