Export (0) Print
Expand All

Attribute Methods

The methods of the Attribute class are listed here. For a complete list of Attribute class members, see the Attribute Members topic.

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overridden. See Object.Equals.
public methodstatic (Shared in Visual Basic)GetCustomAttribute

Supported by the .NET Compact Framework.

Overloaded. Retrieves a custom attribute of a specified type applied to a specified member of a class.
public methodstatic (Shared in Visual Basic)GetCustomAttributes

Supported by the .NET Compact Framework.

Overloaded. Retrieves an array of the custom attributes of a specified type applied to a specified member of a class.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIsDefaultAttribute When overridden in a derived class, returns an indication whether the value of this instance is the default value for the derived class.
public methodstatic (Shared in Visual Basic)IsDefined

Supported by the .NET Compact Framework.

Overloaded. Determines whether any custom attributes of a specified type are applied to a specified member of a class.
public methodMatch

Supported by the .NET Compact Framework.

When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Attribute Class | System Namespace

Show:
© 2014 Microsoft