Click or drag to resize
Json.NET

BsonWriterDateTimeKindHandling Property

 
Gets or sets the DateTimeKind used when writing DateTime values to BSON. When set to Unspecified no conversion will occur.

Namespace:  Newtonsoft.Json.Bson
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public DateTimeKind DateTimeKindHandling { get; set; }

Property Value

Type: DateTimeKind
The DateTimeKind used when writing DateTime values to BSON.
See Also