IsolatedStorageFileStream.Position Property

July 28, 2014

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.

ExceptionCondition
IsolatedStorageException

The isolated store has been removed.

-or-

Isolated storage is disabled.

ArgumentOutOfRangeException

The position cannot be set to a negative number.

ObjectDisposedException

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

Show:
© 2014 Microsoft