Export (0) Print
Expand All

Object Methods

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

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)ReferenceEquals Determines whether the specified Object instances are the same instance.
public methodToString

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize

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

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Object Class | System Namespace

Show:
© 2014 Microsoft