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 (Object)

Gets a collection of attributes for the specified component.

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

Parameters

component
The component whose attributes you want to get.

Return Value

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

See Also

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