Dela via


InMemoryRandomAccessStream.Seek(UInt64) Method

Definition

Sets the position of the stream to the specified value.

public:
 virtual void Seek(unsigned long long position) = Seek;
void Seek(uint64_t const& position);
public void Seek(ulong position);
function seek(position)
Public Sub Seek (position As ULong)

Parameters

position
UInt64

unsigned long long

uint64_t

The new position of the stream.

Implements

M:Windows.Storage.Streams.IRandomAccessStream.Seek(System.UInt64) M:Windows.Storage.Streams.IRandomAccessStream.Seek(unsigned long long) M:Windows.Storage.Streams.IRandomAccessStream.Seek(uint64_t)

Remarks

Warning

This method does not check the position to make sure the value is valid for the stream. If the position is invalid for the stream, the ReadAsync and WriteAsync methods will return an error if you call them.

Applies to