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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProtocols |
Description
Recense le protocole spécifié dans TTetheringProtocols avec le type de protocole spécifié.
Après avoir recensé un protocole, vous pouvez obtenir des instances de ce protocole. Le type recensé pour le protocole est disponible dans la propriété Protocols.
Appelez UnRegisterProtocol pour annuler le recensement de protocoles préalablement recensés.