ReadOnlySequence<T>.GetPosition Método

Definição

Sobrecargas

GetPosition(Int64)

Retorna um novo SequencePosition em um offset a partir do início da sequência.Returns a new SequencePosition at an offset from the start of the sequence.

GetPosition(Int64, SequencePosition)

Retorna um novo SequencePosition em um offset a partir do origin.Returns a new SequencePosition at an offset from the origin.

GetPosition(Int64)

Retorna um novo SequencePosition em um offset a partir do início da sequência.Returns a new SequencePosition at an offset from the start of the sequence.

public:
 SequencePosition GetPosition(long offset);
public SequencePosition GetPosition (long offset);
member this.GetPosition : int64 -> SequencePosition
Public Function GetPosition (offset As Long) As SequencePosition

Parâmetros

offset
Int64

Retornos

GetPosition(Int64, SequencePosition)

Retorna um novo SequencePosition em um offset a partir do origin.Returns a new SequencePosition at an offset from the origin.

public:
 SequencePosition GetPosition(long offset, SequencePosition origin);
public SequencePosition GetPosition (long offset, SequencePosition origin);
member this.GetPosition : int64 * SequencePosition -> SequencePosition
Public Function GetPosition (offset As Long, origin As SequencePosition) As SequencePosition

Parâmetros

offset
Int64

Retornos

Um novo objeto que começa na posição offset do objeto original.A new object that starts at the offset position of the original object.

Aplica-se a