IRandomAccessStream.Position Property

Definition

Gets the byte offset of the stream.

public:
 property unsigned long long Position { unsigned long long get(); };
uint64_t Position();
public ulong Position { get; }
var uInt64 = iRandomAccessStream.position;
Public ReadOnly Property Position As ULong

Property Value

UInt64

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.

Applies to