System.Tether.Manager.TTetheringManagerCommand.DecodeCommand
Delphi
procedure DecodeCommand(const ACommandString: string);
C++
void __fastcall DecodeCommand(const System::UnicodeString ACommandString);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManagerCommand |
Description
Converts a command string into a TTetheringManagerCommand.
DecodeCommand splits the provided string into an array of strings and validates it. It stores the result of this validation in the ValidCommand Boolean.
If the command is valid, DecodeCommand updates the corresponding properties with the strings from the array of strings (in this order).
DecodeCommand expects ACommandString
to be in this format:
<CommandText><Separator><ConnectionString><Separator><Version><Separator><Parameters>
See Also
- System.Tether.Manager.TTetheringManagerCommand
- System.Tether.Manager.TTetheringManagerCommand.Split
- System.Tether.Manager.TTetheringManagerCommand.ValidCommand
- System.Tether.Manager.TTetheringManagerCommand.CommandText
- System.Tether.Manager.TTetheringManagerCommand.ConnectionString
- System.Tether.Manager.TTetheringManagerCommand.Version
- System.Tether.Manager.TTetheringManagerCommand.Params