編輯

共用方式為


Range.Equals Method

Definition

Overloads

Equals(Object)

Returns a value that indicates whether the current instance is equal to a specified object.

Equals(Range)

Returns a value that indicates whether the current instance is equal to another Range object.

Equals(Object)

Source:
Range.cs
Source:
Range.cs
Source:
Range.cs

Returns a value that indicates whether the current instance is equal to a specified object.

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

Parameters

value
Object

An object to compare with this Range object.

Returns

true if value is of type Range and is equal to the current instance; otherwise, false.

Applies to

Equals(Range)

Source:
Range.cs
Source:
Range.cs
Source:
Range.cs

Returns a value that indicates whether the current instance is equal to another Range object.

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

Parameters

other
Range

A Range object to compare with this Range object.

Returns

true if the current instance is equal to other; otherwise, false.

Implements

Applies to