Click or drag to resize
Attribute Methods

The Attribute type exposes the following members.

Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Overrides ObjectEquals(Object).)
Public methodStatic memberGetCustomAttribute(Module, Type)
Retrieves a custom attribute applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
Public methodStatic memberGetCustomAttribute(Assembly, Type)
Retrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for.
Public methodStatic memberGetCustomAttribute(MemberInfo, Type)
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for.
Public methodStatic memberGetCustomAttribute(ParameterInfo, Type)
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for.
Public methodStatic memberGetCustomAttribute(Module, Type, Boolean)
Retrieves a custom attribute applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
Public methodStatic memberGetCustomAttribute(Assembly, Type, Boolean)
Retrieves a custom attribute applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
Public methodStatic memberGetCustomAttribute(MemberInfo, Type, Boolean)
Retrieves a custom attribute applied to a member of a type. Parameters specify the member, the type of the custom attribute to search for, and whether to search ancestors of the member.
Public methodStatic memberGetCustomAttribute(ParameterInfo, Type, Boolean)
Retrieves a custom attribute applied to a method parameter. Parameters specify the method parameter, the type of the custom attribute to search for, and whether to search ancestors of the method parameter.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also