RuntimeFieldHandle.Equals Method

Definition

Indicates whether an object represents the same field as the current RuntimeFieldHandle.

Overloads

Equals(Object)

Indicates whether the current instance is equal to the specified object.

Equals(RuntimeFieldHandle)

Indicates whether the current instance is equal to the specified RuntimeFieldHandle.

Equals(Object)

Indicates whether the current instance is equal to the specified object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (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

The object to compare to the current instance.

Returns

true if obj is a RuntimeFieldHandle and equal to the value of the current instance; otherwise, false.

Applies to

Equals(RuntimeFieldHandle)

Indicates whether the current instance is equal to the specified RuntimeFieldHandle.

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

Parameters

handle
RuntimeFieldHandle

The RuntimeFieldHandle to compare to the current instance.

Returns

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

Implements

Applies to