Returns an instance of each custom attribute defined on the given attributedElement or an empty array if non-exists. If customAttributeType is a base class or interface this method will return any implementation of subclass of that type. Returns an empty array if non-custom attributes exists on this the given element. Ignores any attributes that don't inherit from System.Attribute. If a type is specified, the array returned must be an array of that type.
Returns an array of all the custom attributes of type attributeType defined on this assembly.
[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[];
Returns an array of all the custom attributes of type attributeType defined on this module.
[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[];
Returns an array of all the custom attributes defined on this parameter.
[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[];
Returns an array of all the custom attributes defined on this assembly.
[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[];
Returns an array of all the custom attributes defined on this module.
[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[];
Returns an array of all the custom attributes of type type defined on this member.
[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[];
Returns an array of all the custom attributes of type attributeType defined on this parameter.
[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[];
Returns an array of all the custom attributes defined on this member.
[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[];