DateTimeKindHandling Property

Json.NET

Json.NET - Quick Starts & API Documentation DateTimeKindHandling Property
NamespacesNewtonsoft.Json.BsonBsonWriterDateTimeKindHandling
Gets or sets the DateTimeKind used when writing DateTime values to BSON. When set to Unspecified no conversion will occur.
Declaration Syntax
C# Visual Basic Visual C++
public DateTimeKind DateTimeKindHandling { get; set; }
Public Property DateTimeKindHandling As DateTimeKind
	Get
	Set
public:
property DateTimeKind DateTimeKindHandling {
	DateTimeKind get ();
	void set (DateTimeKind value);
}
Value
The DateTimeKind used when writing DateTime values to BSON.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)