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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdStream Class
TdStream Members