LazyBsonArray Methods |
The LazyBsonArray type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an element to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableBoolean) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableDateTime) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableDouble) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableInt32) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableInt64) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableString) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerable) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableBsonValue) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
AddRange(IEnumerableObjectId) |
Adds multiple elements to the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
Clear |
Clears the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
Clone |
Creates a shallow clone of the array (see also DeepClone).
(Overrides MaterializedOnDemandBsonArrayClone.) | |
CompareTo(BsonArray) |
Compares the array to another array.
(Inherited from MaterializedOnDemandBsonArray.) | |
CompareTo(BsonValue) |
Compares the array to another BsonValue.
(Inherited from MaterializedOnDemandBsonArray.) | |
CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.) | |
Contains |
Tests whether the array contains a value.
(Inherited from MaterializedOnDemandBsonArray.) | |
CopyTo(Object, Int32) | Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
(Inherited from MaterializedOnDemandBsonArray.) | |
CopyTo(BsonValue, Int32) |
Copies elements from this array to another array.
(Inherited from MaterializedOnDemandBsonArray.) | |
DeepClone |
Creates a deep clone of the array (see also Clone).
(Overrides MaterializedOnDemandBsonArrayDeepClone.) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MaterializedOnDemandBsonArray.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Overrides MaterializedOnDemandBsonArrayDispose(Boolean).) | |
Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Inherited from MaterializedOnDemandBsonArray.) | |
Equals(BsonArray) |
Compares this array to another array.
(Inherited from BsonArray.) | |
Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Gets an enumerator that can enumerate the elements of the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
GetHashCode |
Gets the hash code.
(Inherited from MaterializedOnDemandBsonArray.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf(BsonValue) |
Gets the index of a value in the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
IndexOf(BsonValue, Int32) |
Gets the index of a value in the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
IndexOf(BsonValue, Int32, Int32) |
Gets the index of a value in the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
Insert |
Inserts a new value into the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
Materialize |
Materializes the BsonArray.
(Overrides MaterializedOnDemandBsonArrayMaterialize.) | |
MaterializeCompleted |
Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.
(Overrides MaterializedOnDemandBsonArrayMaterializeCompleted.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OperatorEqualsImplementation |
Implementation of operator ==.
(Inherited from BsonValue.) | |
Remove |
Removes the first occurrence of a value from the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
RemoveAt |
Removes an element from the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
ThrowIfDisposed |
Throws if disposed.
(Inherited from MaterializedOnDemandBsonArray.) | |
ToArray |
Converts the BsonArray to an array of BsonValues.
(Inherited from MaterializedOnDemandBsonArray.) | |
ToBoolean |
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Inherited from BsonValue.) | |
ToDouble |
Converts this BsonValue to a Double.
(Inherited from BsonValue.) | |
ToInt32 |
Converts this BsonValue to an Int32.
(Inherited from BsonValue.) | |
ToInt64 |
Converts this BsonValue to an Int64.
(Inherited from BsonValue.) | |
ToList |
Converts the BsonArray to a list of BsonValues.
(Inherited from MaterializedOnDemandBsonArray.) | |
ToLocalTime |
Converts this BsonValue to a DateTime in local time.
(Inherited from BsonValue.) | |
ToNullableLocalTime |
Converts this BsonValue to a DateTime? in local time.
(Inherited from BsonValue.) | |
ToNullableUniversalTime |
Converts this BsonValue to a DateTime? in UTC.
(Inherited from BsonValue.) | |
ToString |
Returns a string representation of the array.
(Inherited from MaterializedOnDemandBsonArray.) | |
ToUniversalTime |
Converts this BsonValue to a DateTime in UTC.
(Inherited from BsonValue.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |