IRandomAccessStream.Seek(UInt64) Method

Definition

Sets the position of the stream to the specified value.

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

Parameters

position
UInt64

The new position of the stream.

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