SequencePosition.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 another object. |
Equals(SequencePosition) |
Indicates whether the current instance is equal to another SequencePosition. |
- Source:
- SequencePosition.cs
- Source:
- SequencePosition.cs
- Source:
- SequencePosition.cs
Returns a value that indicates whether the current instance is equal to another 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 with the current instance.
Returns
true
if obj
is of type SequencePosition and is equal to the current instance; otherwise, false
.
Remarks
Equality does not guarantee that the two instances point to the same location in a ReadOnlySequence<T>.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.0 (package-provided), 2.1 |
- Source:
- SequencePosition.cs
- Source:
- SequencePosition.cs
- Source:
- SequencePosition.cs
Indicates whether the current instance is equal to another SequencePosition.
public:
virtual bool Equals(SequencePosition other);
public bool Equals(SequencePosition other);
override this.Equals : SequencePosition -> bool
Public Function Equals (other As SequencePosition) As Boolean
Parameters
- other
- SequencePosition
The sequence position to compare with the current instance.
Returns
true
if the two instances are equal; false
otherwise.
Implements
Remarks
Equality does not guarantee that the two instances point to the same location in a ReadOnlySequence<T>.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.0 (package-provided), 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: