Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1243

Set Value to a BsonElement

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • None
    • 2.0
    • - VS 2013
      - NET Frameworks 4.5.1
      - Windows 8.1 x64

    Description

      Hi,
      I want to set a value to a bson element in C# driver 2.0, in last version 1.9.2 this code works ok:
      date.Value = BsonValue.Create(date.Value.ToUniversalTime().ToString("o"));
      but in the new version 2.0, Value only have get and i don't find how to set the value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            PPetrica petrica [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: