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!

ICustomAttributeProvider.GetCustomAttributes (Type)

Return an array of custom attributes identified by Type.

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

Parameters

attributeType
The Type object to which the custom attributes are applied.

Return Value

An array of custom attributes identified by Type.

Exceptions

Exception Type Condition
TypeLoadException The custom attribute type can not be loaded.
TypeLoadException if the custom attribute type can not be loaded.

Remarks

If no attributes are defined for this member, an empty array is returned.

See Also

ICustomAttributeProvider Interface | ICustomAttributeProvider Members | System.Reflection Namespace | ICustomAttributeProvider.GetCustomAttributes Overload List