Click or drag to resize
MaterializedOnDemandBsonArray Methods

The MaterializedOnDemandBsonArray type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds an element to the array.
(Overrides BsonArray.Add(BsonValue).)
Public methodAddRange(IEnumerable<Boolean>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<Boolean>).)
Public methodAddRange(IEnumerable<DateTime>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<DateTime>).)
Public methodAddRange(IEnumerable<Double>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<Double>).)
Public methodAddRange(IEnumerable<Int32>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<Int32>).)
Public methodAddRange(IEnumerable<Int64>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<Int64>).)
Public methodAddRange(IEnumerable<String>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<String>).)
Public methodAddRange(IEnumerable)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable).)
Public methodAddRange(IEnumerable<BsonValue>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<BsonValue>).)
Public methodAddRange(IEnumerable<ObjectId>)
Adds multiple elements to the array.
(Overrides BsonArray.AddRange(IEnumerable<ObjectId>).)
Public methodClear
Clears the array.
(Overrides BsonArray.Clear().)
Public methodClone
Creates a shallow clone of the array (see also DeepClone).
(Overrides BsonArray.Clone().)
Public methodCompareTo(BsonArray)
Compares the array to another array.
(Overrides BsonArray.CompareTo(BsonArray).)
Public methodCompareTo(BsonValue)
Compares the array to another BsonValue.
(Overrides BsonArray.CompareTo(BsonValue).)
Public methodCompareTypeTo
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.)
Public methodContains
Tests whether the array contains a value.
(Overrides BsonArray.Contains(BsonValue).)
Public methodCopyTo(Object[], Int32) Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
(Overrides BsonArray.CopyTo(Object[], Int32).)
Public methodCopyTo(BsonValue[], Int32)
Copies elements from this array to another array.
(Overrides BsonArray.CopyTo(BsonValue[], Int32).)
Public methodDeepClone
Creates a deep clone of the array (see also Clone).
(Overrides BsonArray.DeepClone().)
Public methodDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides BsonArray.Equals(Object).)
Public methodEquals(BsonArray)
Compares this array to another array.
(Inherited from BsonArray.)
Public methodEquals(BsonValue)
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets an enumerator that can enumerate the elements of the array.
(Overrides BsonArray.GetEnumerator().)
Public methodGetHashCode
Gets the hash code.
(Overrides BsonArray.GetHashCode().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(BsonValue)
Gets the index of a value in the array.
(Overrides BsonArray.IndexOf(BsonValue).)
Public methodIndexOf(BsonValue, Int32)
Gets the index of a value in the array.
(Overrides BsonArray.IndexOf(BsonValue, Int32).)
Public methodIndexOf(BsonValue, Int32, Int32)
Gets the index of a value in the array.
(Overrides BsonArray.IndexOf(BsonValue, Int32, Int32).)
Public methodInsert
Inserts a new value into the array.
(Overrides BsonArray.Insert(Int32, BsonValue).)
Protected methodMaterialize
Materializes the BsonArray.
Protected methodMaterializeCompleted
Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOperatorEqualsImplementation
Implementation of operator ==.
(Inherited from BsonValue.)
Public methodRemove
Removes the first occurrence of a value from the array.
(Overrides BsonArray.Remove(BsonValue).)
Public methodRemoveAt
Removes an element from the array.
(Overrides BsonArray.RemoveAt(Int32).)
Protected methodThrowIfDisposed
Throws if disposed.
Public methodToArray
Converts the BsonArray to an array of BsonValues.
(Overrides BsonArray.ToArray().)
Public methodToBoolean
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Inherited from BsonValue.)
Public methodToDouble
Converts this BsonValue to a Double.
(Inherited from BsonValue.)
Public methodToInt32
Converts this BsonValue to an Int32.
(Inherited from BsonValue.)
Public methodToInt64
Converts this BsonValue to an Int64.
(Inherited from BsonValue.)
Public methodToList
Converts the BsonArray to a list of BsonValues.
(Overrides BsonArray.ToList().)
Public methodToLocalTime
Converts this BsonValue to a DateTime in local time.
(Inherited from BsonValue.)
Public methodToNullableLocalTime
Converts this BsonValue to a DateTime? in local time.
(Inherited from BsonValue.)
Public methodToNullableUniversalTime
Converts this BsonValue to a DateTime? in UTC.
(Inherited from BsonValue.)
Public methodToString
Returns a string representation of the array.
(Overrides BsonArray.ToString().)
Public methodToUniversalTime
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also