RuntimeTypeHandle.Equals Method

Definition

Indicates whether two RuntimeTypeHandle structures are equal.

Overloads

Equals(Object)

Indicates whether the specified object is equal to the current RuntimeTypeHandle structure.

Equals(RuntimeTypeHandle)

Indicates whether the specified RuntimeTypeHandle structure is equal to the current RuntimeTypeHandle structure.

Equals(Object)

Indicates whether the specified object is equal to the current RuntimeTypeHandle structure.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

An object to compare to the current instance.

Returns

true if obj is a RuntimeTypeHandle structure and is equal to the value of this instance; otherwise, false.

Equals(RuntimeTypeHandle)

Indicates whether the specified RuntimeTypeHandle structure is equal to the current RuntimeTypeHandle structure.

public:
 bool Equals(RuntimeTypeHandle handle);
public bool Equals (RuntimeTypeHandle handle);
override this.Equals : RuntimeTypeHandle -> bool
Public Function Equals (handle As RuntimeTypeHandle) As Boolean

Parameters

handle
RuntimeTypeHandle

The RuntimeTypeHandle structure to compare to the current instance.

Returns

true if the value of handle is equal to the value of this instance; otherwise, false.

Applies to