Skip to main content

Windows Dev Center

FileRandomAccessStream.Seek | seek method

Sets the position of the stream to the specified value.

Syntax


fileRandomAccessStream.seek(position);

public void Seek(
  ulong position
)

Public Sub Seek(
  position As ULong 
)

public:
void Seek(
  unsigned long long position
)

Parameters

position

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

The new position of the stream.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

FileRandomAccessStream