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 (MemberInfo, Type)

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

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

Parameters

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

Return Value

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

See Also

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