System.JSON.Types.JsonExcludeValueAttribute.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create(const AValue: Boolean); overload;
constructor Create(const AValue: AnsiChar); overload;
constructor Create(const AValue: Char); overload;
constructor Create(const AValue: Integer); overload;
constructor Create(const AValue: Cardinal); overload;
constructor Create(const AValue: Int64); overload;
constructor Create(const AValue: UInt64); overload;
constructor Create(const AValue: String); overload;
constructor Create(const AValue: Extended); overload;

C++

__fastcall JsonExcludeValueAttribute(const bool AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const char AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const System::WideChar AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const int AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const unsigned AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const __int64 AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const unsigned __int64 AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const System::UnicodeString AValue)/* overload */;
__fastcall JsonExcludeValueAttribute(const System::Extended AValue)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
System.JSON.Types.pas
System.JSON.Types.hpp
System.JSON.Types JsonExcludeValueAttribute

Description

Construit un objet et initialise ses données avant la première utilisation de l'objet.

System.JSON.Types.JsonExcludeValueAttribute.Create hérite de System.TObject.Create. Tout le contenu en-dessous de cette ligne se réfère à System.TObject.Create.

Construit un objet et initialise ses données avant la première utilisation de l'objet.

Create construit un objet. Le rôle, la taille et le comportement des objets varient beaucoup. Le constructeur Create défini par TObject alloue de la mémoire mais n'initialise pas les données.

Les objets descendants définissent généralement un constructeur qui crée le type particulier d'objet et initialise ses données.

Remarque :  Si une exception provoque la sortie d'un constructeur, le destructeur de l'objet est appelé pour libérer l'instance partiellement créée.

Voir aussi