RandomAccessStreamOverStream.Seek | seek method

Applies to Windows and Windows Phone

Sets the position of the stream to the specified value.

Syntax


public void Seek(
  ulong position
)

Parameters

position

Type: Number [JavaScript] | System.UInt64 [.NET] | uint64 [C++]

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

RandomAccessStreamOverStream

 

 

Show:
© 2014 Microsoft