PowerTCP FTP for .NET
Seek Method



The desired offset relative to the origin parameter.
A value of type SeekOrigin, which acts as the seek reference point.
Sets the position within the current Stream to the specified value. Always throws a NotSupportedException.
Syntax
Public Overrides Function Seek( _
   ByVal offset As Long, _
   ByVal origin As SeekOrigin _
) As Long
Dim instance As BaseStream
Dim offset As Long
Dim origin As SeekOrigin
Dim value As Long
 
value = instance.Seek(offset, origin)
public override long Seek( 
   long offset,
   SeekOrigin origin
)
public:
int64 Seek( 
   int64 offset,
   SeekOrigin origin
) override 

Parameters

offset
The desired offset relative to the origin parameter.
origin
A value of type SeekOrigin, which acts as the seek reference point.

Return Value

The new position within the stream.
Exceptions
ExceptionDescription
System.NotSupportedExceptionAlways thrown by this method.
Remarks
This method is not supported, and always throws a NotSupportedException.
See Also

Reference

BaseStream Class
BaseStream Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic