_Type.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides COM objects with version-independent access to the Type.Equals method.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

bool Equals(
	object other
)

Parameters

other
Type: System.Object

The Object whose underlying system type is to be compared with the underlying system type of the current Type.

Return Value

Type: System.Boolean

true if the underlying system type of o is the same as the underlying system type of the current Type; otherwise, false.

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.Equals method determines if the underlying system type of the current Type is the same as the underlying system type of the specified Object.

.NET Framework
Available since 1.1
Return to top
Show: