EMS.Services.IEMSResourceResponseContent.TryGetBytes

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
EMS.Services.pas
EMS.Services.hpp
Unit: EMS.Services
Parent: IEMSResourceResponseContent

Delphi

function TryGetBytes(out ABytes: TBytes): Boolean;

C++

virtual bool __fastcall TryGetBytes(/* out */ System::Sysutils::TBytes &ABytes) = 0 ;

Description

If the response content is not empty, TryGetBytes fills ABytes with the response content as an instance of TBytes and returns True. TryGetBytes returns False otherwise.

See Also