IsolatedStorageFileStream::Seek Method (Int64, SeekOrigin)
.NET Framework (current version)
Sets the current position of this IsolatedStorageFileStream object to the specified value.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- offset
-
Type:
System::Int64
The new position of the IsolatedStorageFileStream object.
- origin
-
Type:
System.IO::SeekOrigin
One of the SeekOrigin values.
| Exception | Condition |
|---|---|
| ArgumentException | The origin must be one of the SeekOrigin values. |
Some IsolatedStorageFileStream objects support positioning beyond the length of the stream, others will throw an exception in this case.
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: