System.Tether.Manager.TTetheringManagerCommand

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TTetheringManagerCommand = record
  private const
    EscapePrefix = '\';
    NumStaticParams  = 3;
  private
    function GetNumParams: Integer;
  public
    ValidCommand: Boolean;
    CommandText: string;
    ConnectionString: string;
    Version: Integer;
    Params: TTetheringParams;
    class function Create(const ACommandText, AConnectionString: string; AVersion: Integer;
      const AParams: TTetheringParams): TTetheringManagerCommand; static;
    property NumParams: Integer read GetNumParams;
    function ToString: string;
    procedure DecodeCommand(const ACommandString: string);
    class function EscapeSeparator(const AText: string; const Separators: array of Char): string; static;
    class function UnEscapeSeparator(const AText: string; const Separators: array of Char): string; static;
    class function Join(const ASeparator: Char; const AValues: TArray<string>): string; static;
    class function Split(const AString: string; const ASeparator: Char): TArray<string>; static;
  end;

C++

struct DECLSPEC_DRECORD TTetheringManagerCommand
{
private:
    static const System::WideChar EscapePrefix = (System::WideChar)(0x5c);
    static const System::Int8 NumStaticParams = System::Int8(0x3);
    int __fastcall GetNumParams();
public:
    bool ValidCommand;
    System::UnicodeString CommandText;
    System::UnicodeString ConnectionString;
    int Version;
#ifndef _WIN64
    System::DynamicArray<System::UnicodeString> Params;
    static TTetheringManagerCommand __fastcall Create(const System::UnicodeString ACommandText, const System::UnicodeString AConnectionString, int AVersion, const System::DynamicArray<System::UnicodeString> AParams);
#else /* _WIN64 */
    System::TArray__1<System::UnicodeString> Params;
    static TTetheringManagerCommand __fastcall Create(const System::UnicodeString ACommandText, const System::UnicodeString AConnectionString, int AVersion, const System::TArray__1<System::UnicodeString> AParams);
#endif /* _WIN64 */
    __property int NumParams = {read=GetNumParams};
    System::UnicodeString __fastcall ToString();
    void __fastcall DecodeCommand(const System::UnicodeString ACommandString);
    static System::UnicodeString __fastcall EscapeSeparator(const System::UnicodeString AText, const System::WideChar *Separators, const int Separators_High);
    static System::UnicodeString __fastcall UnEscapeSeparator(const System::UnicodeString AText, const System::WideChar *Separators, const int Separators_High);
#ifndef _WIN64
    static System::UnicodeString __fastcall Join(const System::WideChar ASeparator, const System::DynamicArray<System::UnicodeString> AValues);
    static System::DynamicArray<System::UnicodeString> __fastcall Split(const System::UnicodeString AString, const System::WideChar ASeparator);
#else /* _WIN64 */
    static System::UnicodeString __fastcall Join(const System::WideChar ASeparator, const System::TArray__1<System::UnicodeString> AValues);
    static System::TArray__1<System::UnicodeString> __fastcall Split(const System::UnicodeString AString, const System::WideChar ASeparator);
#endif /* _WIN64 */
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager System.Tether.Manager


Beschreibung

Ein Record zum Verwalten und Verarbeiten der Befehlsinformation vom Tethering-Manager.

Member, die die Methoden aus TTetheringManagerCommand verwenden:

Siehe auch