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

Add IndexOfName method to BsonDocument

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None
    • Fully Compatible

      Add a method called IndexOfName that can be used to find the position of an element in a BsonDocument.

      For example:

      var idIndex = document.IndexOfName("_id");
      

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: