System.Runtime.InteropServices._Exception.Equals Method

Provides COM objects with version-independent access to the object.Equals(object) method.

Syntax

public bool Equals (object obj)

Parameters

obj
The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Remarks

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

The object.Equals(object) method determines whether the specified object is equal to the current object.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0