API:FireDAC.Phys.ADSWrapper.TADSBLOBStream.Seek
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: FireDAC.Phys.ADSWrapper.pas FireDAC.Phys.ADSWrapper.hpp
| |
| Unit: FireDAC.Phys.ADSWrapper | |
| Parent: TADSBLOBStream | |
Delphi
function Seek(Offset: Longint; Origin: Word): Longint; override;
function Seek(const Offset: Int64; Origin: TSeekOrigin): Int64; override;
C++
virtual System::LongInt __fastcall Seek(System::LongInt Offset, System::Word Origin)/* overload */;
virtual __int64 __fastcall Seek(const __int64 Offset, System::Classes::TSeekOrigin Origin)/* overload */;
inline __int64 __fastcall Seek(const __int64 Offset, System::Word Origin){ return System::Classes::TStream::Seek(Offset, Origin); }
Description
Moves to a specified position in the streamed resource. FireDAC.Phys.ADSWrapper.TADSBLOBStream.Seek inherits from System.Classes.TStream.Seek. All content below this line refers to System.Classes.TStream.Seek.
Moves to a specified position in the streamed resource.
Call Seek to move the current position of the stream in its particular storage medium (such as memory or a disk file).
The Origin parameter indicates how to interpret the Offset parameter. Origin should be one of the following values:
| Value | Meaning |
|---|---|
|
soBeginning |
Offset is from the beginning of the resource. Seek moves to the position Offset. Offset must be >= 0. |
|
soCurrent |
Offset is from the current position in the resource. Seek moves to Position + Offset. |
|
soEnd |
Offset is from the end of the resource. Offset must be <= 0 to indicate a number of bytes before the end of the file. |
Seek returns the new value of the Position property.
Seek is called by the Position and Size properties.