Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRandomAccessStream.Seek method

Applies to Windows and Windows Phone

Sets the position of the stream to the specified value.

Syntax


void Seek(
  ulong position
)

Parameters

position

Type: 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

Namespace

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

Metadata

Windows.winmd

See also

IRandomAccessStream

 

 

Show:
© 2015 Microsoft