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.GetCustomAttribute

[To be supplied.]

Overload List

Returns an instance of attributeType or a null reference (in Visual Basic Nothing) if non-exists on the given element.

[Visual Basic] Overloads Public Shared Function GetCustomAttribute(ParameterInfo, Type) As Attribute
[C#] public static Attribute GetCustomAttribute(ParameterInfo, Type);
[C++] public: static Attribute* GetCustomAttribute(ParameterInfo*, Type);
[JScript] public static function GetCustomAttribute(ParameterInfo, Type) : Attribute;

Returns an instance of attributeType or a null reference (Nothing) if non-exists on the given element.

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

Returns an instance of attributeType or a null reference (Nothing) if non-exists on the given element.

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

Returns an instance of attributeType or a null reference (Nothing) if non-exists on the given element.

[Visual Basic] Overloads Public Shared Function GetCustomAttribute(Module, Type) As Attribute
[C#] public static Attribute GetCustomAttribute(Module, Type);
[C++] public: static Attribute* GetCustomAttribute(Module*, Type);
[JScript] public static function GetCustomAttribute(Module, Type) : Attribute;

See Also

Attribute Class | Attribute Members | System Namespace