Export (0) Print
Expand All

Attribute.GetCustomAttributes Method

Retrieves an array of the custom attributes of a specified type applied to a specified member of a class.

Overload List

Retrieves an array of the custom attributes of a specified type applied to a specified assembly or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes applied to a specified member of a class or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified module or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified parameter of a member of a class or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified assembly or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified assembly or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified member of a class or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified member of a class or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified module or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified module or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified parameter of a member of a class or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified parameter of a member of a class or inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified assembly or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified member of a class or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified module or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

Retrieves an array of the custom attributes of a specified type applied to a specified parameter of a member of a class or optionally inherited from a base class.

Supported by the .NET Compact Framework.

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

See Also

Attribute Class | Attribute Members | System Namespace

Show:
© 2014 Microsoft