EMS.Services.IEMSResourceResponseContent.TryGetStream
Delphi
function TryGetStream(out AStream: TStream): Boolean; overload;
function TryGetStream(out AStream: TStream; out AContentType: string): Boolean; overload;
C++
virtual bool __fastcall TryGetStream(/* out */ System::Classes::TStream* &AStream) = 0 /* overload */;
virtual bool __fastcall TryGetStream(/* out */ System::Classes::TStream* &AStream, /* out */ System::UnicodeString &AContentType) = 0 /* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | IEMSResourceResponseContent |
Description
If the response content is not empty, TryGetStream fills AStream
with the response content as an instance of TStream and returns True
. TryGetStream returns False
otherwise.