Läs på engelska Redigera

Dela via


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(object? value);
public override bool Equals(object value);

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 bool Equals(Range other);

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