Attribute Methods |
The Attribute type exposes the following members.
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Overrides ObjectEquals(Object).) | |
GetCustomAttribute(Module, Type) | Retrieves a custom attribute applied to a module. Parameters specify the module, and the type of the custom attribute to search for. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetCustomAttribute(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. | |
GetHashCode | Returns the hash code for this instance. (Overrides ObjectGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |