EMS.Services.IEMSResourceResponseContent.TryGetStream

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services IEMSResourceResponseContent


説明

応答内容が空でない場合、TryGetStream では、応答内容を TStream のインスタンスとして AStream 引数に格納し、True を返します。そうでない場合、TryGetStreamFalse を返します。

関連項目