IsolatedStorageFileStream.Seek(Int64, SeekOrigin) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current position of this IsolatedStorageFileStream object to the specified value.
public:
override long Seek(long offset, System::IO::SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long
Parameters
- offset
- Int64
The new position of the IsolatedStorageFileStream object.
- origin
- SeekOrigin
One of the SeekOrigin values.
Returns
The new position in the IsolatedStorageFileStream object.
Exceptions
The origin
must be one of the SeekOrigin values.
Remarks
Some IsolatedStorageFileStream objects support positioning beyond the length of the stream, others will throw an exception in this case.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for