System.Tether.Manager.TTetheringProfileInfo.FromString
Delphi
procedure FromString(const AProfileInfoString: string);
C++
void __fastcall FromString(const System::UnicodeString AProfileInfoString);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfileInfo |
Description
Converts a string into profile information.
FromString splits the provided string and validates it.
If the string is valid, FromString updates the corresponding properties with the strings from the array of strings (in this order).
- ManagerIdentifier
- ProfileIdentifier
- ProfileText
- ProfileGroup
- ProfileType
- ProfileVersion
- AllowedConnections. FromString splits this substring and saves the values into the corresponding properties of each connection.
FromString expects AProfileInfoString
to be in this format:
<ManagerIdentifier><Separator><ProfileIdentifier><Separator><ProfileText><Separator><ProfileGroup><Separator><ProfileType><Separator><ProfileVersion><Separator><AllowedConnections>
See Also
- 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