Send feedback on this topic.
Teradata.Client.Provider
Seek Method



Teradata.Client.Provider Namespace > TdStream Class : Seek Method
Specifies the number of bytes relative to origin.
Designates a reference point within the stream.
TdStream does not support seeking.
Syntax
'Declaration
 
Public Overrides NotOverridable Function Seek( _
   ByVal offset As Long, _
   ByVal origin As SeekOrigin _
) As Long
'Usage
 
Dim instance As TdStream
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
Specifies the number of bytes relative to origin.
origin
Designates a reference point within the stream.

Return Value

Returns a new position within the stream
Exceptions
ExceptionDescription
The TdStream does not support seeking.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdStream Class
TdStream Members