System.Tether.Manager.TTetheringProfileInfo.FromString
Delphi
procedure FromString(const AProfileInfoString: string);
C++
void __fastcall FromString(const System::UnicodeString AProfileInfoString);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfileInfo |
Description
Convertit une chaîne en informations de profil.
FromString fractionne la chaîne fournie et la valide.
Si la chaîne est valide, FromString met à jour les propriétés correspondantes avec les chaînes du tableau de chaînes (dans cet ordre).
- ManagerIdentifier
- ProfileIdentifier
- ProfileText
- ProfileGroup
- ProfileType
- ProfileVersion
- AllowedConnections. FromString fractionne cette sous-chaîne et enregistre les valeurs dans les propriétés correspondantes de chaque connexion.
FromString s'attend à ce que AProfileInfoString
soit au format :
<ManagerIdentifier><Separator><ProfileIdentifier><Separator><ProfileText><Separator><ProfileGroup><Separator><ProfileType><Separator><ProfileVersion><Separator><AllowedConnections>
Voir aussi
- System.Tether.Manager.TTetheringProfileInfo
- System.Tether.Manager.TTetheringManagerCommand.Join
- System.Tether.Manager.TTetheringProfileInfo.ManagerIdentifier
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.Tether.Manager.TTetheringProfileInfo.ProfileText
- System.Tether.Manager.TTetheringProfileInfo.ProfileGroup
- System.Tether.Manager.TTetheringProfileInfo.ProfileType
- System.Tether.Manager.TTetheringProfileInfo.ProfileVersion
- System.Tether.Manager.TTetheringAllowedConnection.ProtocolType
- System.Tether.Manager.TTetheringAllowedConnection.AdapterType
- System.Tether.Manager.TTetheringAllowedConnection.Connection