FireDAC.Phys.ADSWrapper.TADSBLOBStream.SetSize
Delphi
procedure SetSize(NewSize: Longint); override;
C++
virtual void __fastcall SetSize(System::LongInt NewSize)/* overload */;
inline void __fastcall SetSize(const __int64 NewSize){ System::Classes::TStream::SetSize(NewSize); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FireDAC.Phys.ADSWrapper.pas FireDAC.Phys.ADSWrapper.hpp |
FireDAC.Phys.ADSWrapper | TADSBLOBStream |
Description
Provides a placeholder for a method to change the size of the streamed resource.
FireDAC.Phys.ADSWrapper.TADSBLOBStream.SetSize inherits from System.Classes.TStream.SetSize. All content below this line refers to System.Classes.TStream.SetSize.
Provides a placeholder for a method to change the size of the streamed resource.
SetSize does nothing in TStream. Descendent stream classes can override this method to set the Size property of their objects. SetSize is the write procedure for the Size property.
Note: SetSize is introduced in TStream, even though it does nothing, because it is not possible to change the definition of a property in a descendent class. SetSize must therefore be introduced when Size is introduced.