SequencePosition.Equals SequencePosition.Equals SequencePosition.Equals SequencePosition.Equals Method

Definição

Sobrecargas

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Retorna um valor que indica se a instância atual é igual a outro objeto.Returns a value that indicates whether the current instance is equal to another object.

Equals(SequencePosition) Equals(SequencePosition) Equals(SequencePosition) Equals(SequencePosition)

Indica se a instância atual é igual a outra SequencePosition.Indicates whether the current instance is equal to another SequencePosition.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Retorna um valor que indica se a instância atual é igual a outro objeto.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);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parâmetros

obj
Object Object Object Object

O objeto a ser comparado com a instância atual.The object to compare with the current instance.

Retornos

true se obj for do tipo SequencePosition e igual à instância atual; caso contrário, false.true if obj is of type SequencePosition and is equal to the current instance; otherwise, false.

Comentários

A igualdade não garante que as duas instâncias apontem para o mesmo local em ReadOnlySequence<T>um.Equality does not guarantee that the two instances point to the same location in a ReadOnlySequence<T>.

Equals(SequencePosition) Equals(SequencePosition) Equals(SequencePosition) Equals(SequencePosition)

Indica se a instância atual é igual a outra SequencePosition.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

Parâmetros

other
SequencePosition SequencePosition SequencePosition SequencePosition

A posição da sequência a ser comparada com a instância atual.The sequence position to compare with the current instance.

Retornos

true se as duas instâncias de forem iguais; caso contrário, false.true if the two instances are equal; false otherwise.

Implementações

Comentários

A igualdade não garante que as duas instâncias apontem para o mesmo local em ReadOnlySequence<T>um.Equality does not guarantee that the two instances point to the same location in a ReadOnlySequence<T>.

Aplica-se a