System.Tether.Manager.TTetheringProfiles.GetProfileInstance
Delphi
class function GetProfileInstance(const AType: TTetheringProfileType; const AOwnerManager: TTetheringManager): TTetheringProfile;
C++
__classmethod TTetheringProfile* __fastcall GetProfileInstance(const System::UnicodeString AType, TTetheringManager* const AOwnerManager);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfiles |
Description
Crée et renvoie une instance d'un profil du type de profil spécifié qui est configuré pour utiliser le gestionnaire spécifié.
Si AType
n'a pas été recensé, GetProfileInstance renvoie null.