Attribute Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Attribute type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals Infrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Overrides Object.Equals(Object).)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(Assembly) Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(MemberInfo) Retrieves an array of the custom attributes applied to a member of a type. A parameter specifies the member.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(Module) Retrieves an array of the custom attributes applied to a module. A parameter specifies the module.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(ParameterInfo) Retrieves an array of the custom attributes applied to a method parameter. A parameter specifies the method parameter.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(Assembly, Boolean) Retrieves an array of the custom attributes applied to an assembly. Parameters specify the assembly, and an ignored search option.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetCustomAttributes(Module, Boolean) Retrieves an array of the custom attributes applied to a module. Parameters specify the module, and an ignored search option.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

See Also

Reference