Range.Equals Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- 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
.NET 9 及其他版本
產品 | 版本 |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.0 (package-provided), 2.1 |
- 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
.NET 9 及其他版本
產品 | 版本 |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.0 (package-provided), 2.1 |