System.Tether.Manager.TTetheringProtocols.RegisterProtocol
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 を呼び出すと、既に登録されているプロトコルを登録解除できます。