[This is preliminary documentation and is subject to change.]
The Update type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | Update | Initializes a new instance of the Update class |
![]() | Update(Stream) | Initializes a new instance of the Update class |
![]() | Update(String, Boolean, TemplateArg ) |
Creates an instance of the update from JSON template with parameters populated from args optionally caching the template internal
representation. Do not cache templates that change often
|
Methods
Name | Description | |
---|---|---|
![]() | Delete |
Deletes an element by name returning true if it was found and deleted
(Inherited from BSONDocument.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | GetByteSize |
Calculates the BSON binary size of this document expressed in bytes
(Inherited from BSONDocument.) |
![]() | GetEnumerator | (Inherited from BSONDocument.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | IndexOfName |
Returns index of named BSONElement or -1 if it does not exist
(Inherited from BSONDocument.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | Set(BSONElement, Int32) |
Inserts BSONElement into document
(Inherited from BSONDocument.) |
![]() | Set(BSONElement, Boolean , Int32) |
Inserts BSONElement into document
(Inherited from BSONDocument.) |
![]() | ToString | (Inherited from BSONDocument.) |
![]() | WriteAsBSON |
Serializes this document into BSON-format stream
(Inherited from BSONDocument.) |
![]() | WriteAsBSONCore | (Inherited from BSONDocument.) |
![]() | WriteAsBSONToNewArray |
Serializes BSON document to byte[]
(Inherited from BSONDocument.) |
![]() | WriteAsJSON |
Serializes this dosument into a TextWriter - this method is used by JSON serializer(JSONWriter)
(Inherited from BSONDocument.) |
Extension Methods
Properties
Name | Description | |
---|---|---|
![]() | ByteSize |
Recalculates the BSON binary size of this document expressed in bytes
(Inherited from BSONDocument.) |
![]() | Count |
Returns the number of BSONElements in this document
(Inherited from BSONDocument.) |
![]() | Item Int32 |
Returns BSONElement by index or null if index is out of bounds
(Inherited from BSONDocument.) |
![]() | Item String |
Returns BSONElement by name or null if not found
(Inherited from BSONDocument.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IEnumerable GetEnumerator | (Inherited from BSONDocument.) |
See Also