Class BsonDefaultValueAttribute
Unit
Grijjy.Bson.Serialization
Declaration
type BsonDefaultValueAttribute = class(TCustomAttribute)
Description
Specifies the default value for an element. Mostly used in combination with BsonIgnoreIfDefaultAttribute.
Hierarchy
- TCustomAttribute
- BsonDefaultValueAttribute
Overview
Methods
 |
constructor Create(const ADefaultValue: Boolean); overload; |
 |
constructor Create(const ADefaultValue: Int32); overload; |
 |
constructor Create(const ADefaultValue: Int64); overload; |
 |
constructor Create(const ADefaultValue: String); overload; |
Properties
Description
Methods
 |
constructor Create(const ADefaultValue: Boolean); overload; |
|
 |
constructor Create(const ADefaultValue: Int32); overload; |
|
 |
constructor Create(const ADefaultValue: Int64); overload; |
|
 |
constructor Create(const ADefaultValue: String); overload; |
|
Properties
 |
property DefaultValue: TgoBsonDefaultValue read FDefaultValue; |
The default value of the element
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|