IRandomAccessStream.Position property

Applies to Windows and Windows Phone

Gets the byte offset of the stream.

Syntax


ulong Position { get; }

Property value

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

The number of bytes from the start of the stream.

Remarks

The initial offset of a IRandomAccessStream is 0.

This offset is affected by both IInputStream and IOutputStream operations.

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:
© 2014 Microsoft