Attribute Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Attribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Infrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Overrides Object.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
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(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(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(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(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(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. |
|
GetCustomAttributes(Assembly) | Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly. |
|
GetCustomAttributes(MemberInfo) | Retrieves an array of the custom attributes applied to a member of a type. A parameter specifies the member. |
|
GetCustomAttributes(Module) | Retrieves an array of the custom attributes applied to a module. A parameter specifies the module. |
|
GetCustomAttributes(ParameterInfo) | Retrieves an array of the custom attributes applied to a method parameter. A parameter specifies the method parameter. |
|
GetCustomAttributes(Assembly, Boolean) | Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and an ignored search option. |
|
GetCustomAttributes(Assembly, Type) | Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for. |
|
GetCustomAttributes(MemberInfo, Boolean) | Retrieves an array of the custom attributes 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. |
|
GetCustomAttributes(MemberInfo, Type) | Retrieves an array of the custom attributes applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. |
|
GetCustomAttributes(Module, Boolean) | Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and an ignored search option. |
|
GetCustomAttributes(Module, Type) | Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and the type of the custom attribute to search for. |
|
GetCustomAttributes(ParameterInfo, Boolean) | Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and whether to search ancestors of the method parameter. |
|
GetCustomAttributes(ParameterInfo, Type) | Retrieves an array of the custom attributes applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for. |
|
GetCustomAttributes(Assembly, Type, Boolean) | Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option. |
|
GetCustomAttributes(MemberInfo, Type, Boolean) | Retrieves an array of the custom attributes 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. |
|
GetCustomAttributes(Module, Type, Boolean) | Retrieves an array of the custom attributes applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option. |
|
GetCustomAttributes(ParameterInfo, Type, Boolean) | Retrieves an array of the custom attributes 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 Object.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsDefined(Assembly, Type) | Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for. |
|
IsDefined(MemberInfo, Type) | Determines whether any custom attributes are applied to a member of a type. Parameters specify the member, and the type of the custom attribute to search for. |
|
IsDefined(Module, Type) | Determines whether any custom attributes of a specified type are applied to a module. Parameters specify the module, and the type of the custom attribute to search for. |
|
IsDefined(ParameterInfo, Type) | Determines whether any custom attributes are applied to a method parameter. Parameters specify the method parameter, and the type of the custom attribute to search for. |
|
IsDefined(Assembly, Type, Boolean) | Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option. |
|
IsDefined(MemberInfo, Type, Boolean) | Determines whether any custom attributes are 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. |
|
IsDefined(Module, Type, Boolean) | Determines whether any custom attributes are applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option. |
|
IsDefined(ParameterInfo, Type, Boolean) | Determines whether any custom attributes are 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. |
|
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified 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.) |
Show: