Skip to main content

BsonTypes Enum

NuGet: GHIElectronics.TinyCLR.Data.Json
Assembly: GHIElectronics.TinyCLR.Data.Json
Namespace: GHIElectronics.TinyCLR.Data.Json

BSON element type codes used when encoding tokens to BSON.

public enum BsonTypes : byte

Fields

NameValueDescription
BsonDouble0x0164-bit floating point value.
BsonString0x02UTF-8 string value.
BsonDocument0x03Embedded document (object).
BsonArray0x04Array value.
BsonBoolean0x08Boolean value.
BsonDateTime0x09UTC date-time value.
BsonNull0x0aNull value.
BsonInt320x1032-bit signed integer value.
BsonInt640x1264-bit signed integer value.