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!

Assembly.GetCustomAttributes (Type)

Gets the custom attribute for this assembly identified by the specified type.

[Visual Basic]
Overloads Overridable Public Function GetCustomAttributes( _
   ByVal attributeType As Type _
) As Object ()
[C#]
public virtual object[] GetCustomAttributes(
   Type attributeType
);
[C++]
public: virtual Object* GetCustomAttributes(
   Type* attributeType
) [];
[JScript]
public function GetCustomAttributes(
   attributeType : Type
) : Object[];

Parameters

attributeType
The Type for which the custom attributes are to be returned.

Return Value

The custom attribute for this assembly identified by the specified type.

Exceptions

Exception Type Condition
ArgumentNullException attributeType is a null reference (in Visual Basic Nothing).
ArgumentException attributeType is not a runtime type.

Remarks

A array of objects representing the specified custom attributes.

See Also

Assembly Class | Assembly Members | System.Reflection Namespace | Assembly.GetCustomAttributes Overload List