System.Tether.Manager.TTetheringManagerCommand.DecodeCommand

From RAD Studio API Documentation
Jump to: navigation, search

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