IRandomAccessStream.Seek(UInt64) IRandomAccessStream.Seek(UInt64) IRandomAccessStream.Seek(UInt64) IRandomAccessStream.Seek(UInt64) IRandomAccessStream.Seek(UInt64) Method

Definition

Sets the position of the stream to the specified value.

public : void Seek(unsigned __int64 position)
void Seek(UInt64 position) const;
public void Seek(UInt64 position)
Public Sub Seek(position As UInt64)
iRandomAccessStream.seek(position);

Parameters

position
UInt64 UInt64 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.