System.JSON.Types.TJsonOid

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TJsonOid = record
  private
    function GetAsString: String;
    procedure SetAsString(const Value: String);
    function GetAsBytes: TBytes;
    procedure SetAsBytes(const Value: TBytes);
  public
    Bytes: array [0 .. 12-1] of Byte;
    constructor Create(const AOid: TBytes); overload;
    constructor Create(const AOid: String); overload;
    property AsString: String read GetAsString write SetAsString;
    property AsBytes: TBytes read GetAsBytes write SetAsBytes;
  end;

C++

struct DECLSPEC_DRECORD TJsonOid
{
private:
    System::UnicodeString __fastcall GetAsString();
    void __fastcall SetAsString(const System::UnicodeString Value);
#ifndef _WIN64
    System::DynamicArray<System::Byte> __fastcall GetAsBytes();
    void __fastcall SetAsBytes(const System::DynamicArray<System::Byte> Value);
#else /* _WIN64 */
    System::TArray__1<System::Byte> __fastcall GetAsBytes();
    void __fastcall SetAsBytes(const System::TArray__1<System::Byte> Value);
#endif /* _WIN64 */
public:
    System::StaticArray<System::Byte, 12> Bytes;
#ifndef _WIN64
    __fastcall TJsonOid(const System::DynamicArray<System::Byte> AOid)/* overload */;
#else /* _WIN64 */
    __fastcall TJsonOid(const System::TArray__1<System::Byte> AOid)/* overload */;
#endif /* _WIN64 */
    __fastcall TJsonOid(const System::UnicodeString AOid)/* overload */;
    __property System::UnicodeString AsString = {read=GetAsString, write=SetAsString};
#ifndef _WIN64
    __property System::DynamicArray<System::Byte> AsBytes = {read=GetAsBytes, write=SetAsBytes};
#else /* _WIN64 */
    __property System::TArray__1<System::Byte> AsBytes = {read=GetAsBytes, write=SetAsBytes};
#endif /* _WIN64 */
    TJsonOid() {}
};

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
record
struct
public
System.JSON.Types.pas
System.JSON.Types.hpp
System.JSON.Types System.JSON.Types


Beschreibung

TJsonOid repräsentiert einen erweiterten JSON-Oid-Datentyp.

Weitere Einzelheiten finden Sie unter erweiterter JSON-Oid (EN) und BSON-Spezifikationen (EN).

Siehe auch