SequenceReader<T>.TryReadExact(Int32, ReadOnlySequence<T>) 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.
Attempts to read exactly count
values from the current sequence.
public:
bool TryReadExact(int count, [Runtime::InteropServices::Out] System::Buffers::ReadOnlySequence<T> % sequence);
public bool TryReadExact (int count, out System.Buffers.ReadOnlySequence<T> sequence);
member this.TryReadExact : int * ReadOnlySequence -> bool
Public Function TryReadExact (count As Integer, ByRef sequence As ReadOnlySequence(Of T)) As Boolean
Parameters
- count
- Int32
The number of values to read.
- sequence
- ReadOnlySequence<T>
When this method returns, contains the read data, if count
items were successfully read.
Returns
true
if there are count
or more remaining items in the current sequence.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.