Table of Contents

Operator implicit operator

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

implicit operator BsonDateTime(DateTime)

Converts a DateTime to a BsonDateTime.

public static implicit operator BsonDateTime(DateTime value)

Parameters

value DateTime

A DateTime.

Returns

BsonDateTime

A BsonDateTime.