ReadOnlySequence<T>.GetOffset(SequencePosition) Method
Definition
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.
Returns the offset of a position
within this sequence from the start.
public:
long GetOffset(SequencePosition position);
public long GetOffset (SequencePosition position);
member this.GetOffset : SequencePosition -> int64
Public Function GetOffset (position As SequencePosition) As Long
Parameters
- position
- SequencePosition
The SequencePosition of which to get the offset.
Returns
The offset from the start of the sequence.
Exceptions
The position is out of range.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.