Upraviť

Zdieľať cez


SequencePosition.Equals Method

Definition

Overloads

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.

Equals(Object)

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

Equals(SequencePosition)

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