System.Tether.AppProfile.TTetheringAppProfile.GetRemoteProfileResources

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

Delphi

function GetRemoteProfileResources(const AProfile: TTetheringProfileInfo): TList<TRemoteResource>;

C++

System::Generics::Collections::TList__1<TRemoteResource*>* __fastcall GetRemoteProfileResources(const System::Tether::Manager::TTetheringProfileInfo &AProfile);

プロパティ

種類 可視性 ソース ユニット
function public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


説明

リモート リソースリストを、指定されたリモート プロファイルから返します。

GetRemoteProfileResources を呼び出す前に、プロファイルを AProfile に接続しなければなりません。 リモート プロファイルに接続すると、プロファイルは、ターゲット リモート プロファイルからすべての項目(アクションやリソース)を受け取ります。 GetRemoteProfileResources は、それら受け取った項目のうち、リソースであるものを返します。

例外

GetRemoteProfileResources への呼び出しは、次の例外を発生させる可能性があります:

Exception Exception.Message シナリオ

ETetheringException

プロファイル <プロファイル識別子> は接続されていません。

  • AProfile は接続されていません。

関連項目