Sets the position within the current stream.
public override System.long Seek(
System.long ,
System.IO.SeekOrigin
)
'Declaration
Public Overrides Function Seek( _
ByVal As System.Long, _
ByVal As System.IO.SeekOrigin _
) As System.Long
Parameters
- offset
- origin
Exception | Description |
System.InvalidOperationException | Attempted to seek outside of the bounds of the stream. |