Export (0) Print
Expand All

ICustomAttributeProvider.GetCustomAttributes Method

Returns custom attributes defined on this member.

Overload List

Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Function GetCustomAttributes(Boolean) As Object()
[C#] object[] GetCustomAttributes(bool);
[C++] Object* GetCustomAttributes(bool) __gc[];
[JScript] function GetCustomAttributes(Boolean) : Object[];

Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Function GetCustomAttributes(Type, Boolean) As Object()
[C#] object[] GetCustomAttributes(Type, bool);
[C++] Object* GetCustomAttributes(Type*, bool) __gc[];
[JScript] function GetCustomAttributes(Type, Boolean) : Object[];

See Also

ICustomAttributeProvider Interface | ICustomAttributeProvider Members | System.Reflection Namespace

Show:
© 2014 Microsoft