Position Property
Collapse the table of content
Expand the table of content

IsolatedStorageFileStream.Position Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the current position of the current IsolatedStorageFileStream object.

Namespace:  System.IO.IsolatedStorage
Assembly:  mscorlib (in mscorlib.dll)

public override long Position { get; set; }

Property Value

Type: System.Int64
The current position of this IsolatedStorageFileStream object.


The isolated store has been removed.


Isolated storage is disabled.


The position cannot be set to a negative number.


The isolated store has been disposed.

Setting this property works when the CanSeek property is true.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft