System.IO.IsolatedStorage.IsolatedStorageFileStream.Seek Method

Sets the current position of this System.IO.IsolatedStorage.IsolatedStorageFileStream object to the specified value.

Syntax

public override long Seek (long offset, System.IO.SeekOrigin origin)

Parameters

offset
The new position of the System.IO.IsolatedStorage.IsolatedStorageFileStream object.
origin
One of the System.IO.SeekOrigin values.

Returns

The new position in the System.IO.IsolatedStorage.IsolatedStorageFileStream object.

Remarks

Some System.IO.IsolatedStorage.IsolatedStorageFileStream objects support positioning beyond the length of the stream, others will throw an exception in this case.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0
Since: .NET 2.0