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!

Attribute.GetCustomAttributes (Assembly, Type)

Returns an array of all the custom attributes of type attributeType defined on this assembly.

[Visual Basic]
Overloads Public Shared Function GetCustomAttributes( _
   ByVal element As Assembly, _
   ByVal attributeType As Type _
) As Attribute ()
[C#]
public static Attribute[] GetCustomAttributes(
   Assembly element,
   Type attributeType
);
[C++]
public: static Attribute* GetCustomAttributes(
   Assembly* element,
   Type* attributeType
) [];
[JScript]
public static function GetCustomAttributes(
   element : Assembly,
   attributeType : Type
) : Attribute[];

Parameters

element
The assembly to search for the custom attribute on.
attributeType
The type of the attribute to be returned

Return Value

Returns an array of all the custom attributes of type attributeType defined on this assembly.

See Also

Attribute Class | Attribute Members | System Namespace | Attribute.GetCustomAttributes Overload List