System.Tether.Manager.TTetheringProtocols.RegisterProtocol

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

Delphi

class procedure RegisterProtocol(const AProtocol: TTetheringProtocolClass; const AProtocolType: TTetheringProtocolType);

C++

__classmethod void __fastcall RegisterProtocol(const TTetheringProtocolClass AProtocol, const System::UnicodeString AProtocolType);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringProtocols


説明

指定のプロトコルを指定のプロトコル種別TTetheringProtocols に登録します。

いったんプロトコルを登録すれば、そのプロトコルのインスタンスを取得でき、そのプロトコルの登録済みの種類は Protocols プロパティで得られます。

UnRegisterProtocol を呼び出すと、既に登録されているプロトコルを登録解除できます。

関連項目