RawBsonArray Methods |
The RawBsonArray type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds an element to the array.
(Overrides BsonArrayAdd(BsonValue).) | |
AddRange(IEnumerableBoolean) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableBoolean).) | |
AddRange(IEnumerableDateTime) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableDateTime).) | |
AddRange(IEnumerableDouble) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableDouble).) | |
AddRange(IEnumerableInt32) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableInt32).) | |
AddRange(IEnumerableInt64) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableInt64).) | |
AddRange(IEnumerableString) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableString).) | |
AddRange(IEnumerable) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerable).) | |
AddRange(IEnumerableBsonValue) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableBsonValue).) | |
AddRange(IEnumerableObjectId) |
Adds multiple elements to the array.
(Overrides BsonArrayAddRange(IEnumerableObjectId).) | |
Clear |
Clears the array.
(Overrides BsonArrayClear.) | |
Clone |
Creates a shallow clone of the array (see also DeepClone).
(Overrides BsonArrayClone.) | |
CompareTo(BsonArray) |
Compares the array to another array.
(Inherited from BsonArray.) | |
CompareTo(BsonValue) |
Compares the array to another BsonValue.
(Inherited from BsonArray.) | |
CompareTypeTo |
Compares the type of this BsonValue to the type of another BsonValue.
(Inherited from BsonValue.) | |
Contains |
Tests whether the array contains a value.
(Overrides BsonArrayContains(BsonValue).) | |
CopyTo(Object, Int32) | Obsolete.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
(Overrides BsonArrayCopyTo(Object, Int32).) | |
CopyTo(BsonValue, Int32) |
Copies elements from this array to another array.
(Overrides BsonArrayCopyTo(BsonValue, Int32).) | |
DeepClone |
Creates a deep clone of the array (see also Clone).
(Overrides BsonArrayDeepClone.) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
Equals(Object) |
Compares this BsonArray to another object.
(Inherited from BsonArray.) | |
Equals(BsonArray) |
Compares this array to another array.
(Inherited from BsonArray.) | |
Equals(BsonValue) |
Compares this BsonValue to another BsonValue.
(Inherited from BsonValue.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator |
Gets an enumerator that can enumerate the elements of the array.
(Overrides BsonArrayGetEnumerator.) | |
GetHashCode |
Gets the hash code.
(Inherited from BsonArray.) | |
GetType | (Inherited from Object.) | |
IConvertibleGetTypeCodeImplementation |
Implementation of the IConvertible GetTypeCode method.
(Inherited from BsonValue.) | |
IConvertibleToBooleanImplementation |
Implementation of the IConvertible ToBoolean method.
(Inherited from BsonValue.) | |
IConvertibleToByteImplementation |
Implementation of the IConvertible ToByte method.
(Inherited from BsonValue.) | |
IConvertibleToCharImplementation |
Implementation of the IConvertible ToChar method.
(Inherited from BsonValue.) | |
IConvertibleToDateTimeImplementation |
Implementation of the IConvertible ToDateTime method.
(Inherited from BsonValue.) | |
IConvertibleToDecimalImplementation |
Implementation of the IConvertible ToDecimal method.
(Inherited from BsonValue.) | |
IConvertibleToDoubleImplementation |
Implementation of the IConvertible ToDouble method.
(Inherited from BsonValue.) | |
IConvertibleToInt16Implementation |
Implementation of the IConvertible ToInt16 method.
(Inherited from BsonValue.) | |
IConvertibleToInt32Implementation |
Implementation of the IConvertible ToInt32 method.
(Inherited from BsonValue.) | |
IConvertibleToInt64Implementation |
Implementation of the IConvertible ToInt64 method.
(Inherited from BsonValue.) | |
IConvertibleToSByteImplementation |
Implementation of the IConvertible ToSByte method.
(Inherited from BsonValue.) | |
IConvertibleToSingleImplementation |
Implementation of the IConvertible ToSingle method.
(Inherited from BsonValue.) | |
IConvertibleToStringImplementation |
Implementation of the IConvertible ToString method.
(Inherited from BsonValue.) | |
IConvertibleToUInt16Implementation |
Implementation of the IConvertible ToUInt16 method.
(Inherited from BsonValue.) | |
IConvertibleToUInt32Implementation |
Implementation of the IConvertible ToUInt32 method.
(Inherited from BsonValue.) | |
IConvertibleToUInt64Implementation |
Implementation of the IConvertible ToUInt64 method.
(Inherited from BsonValue.) | |
IndexOf(BsonValue) |
Gets the index of a value in the array.
(Overrides BsonArrayIndexOf(BsonValue).) | |
IndexOf(BsonValue, Int32) |
Gets the index of a value in the array.
(Overrides BsonArrayIndexOf(BsonValue, Int32).) | |
IndexOf(BsonValue, Int32, Int32) |
Gets the index of a value in the array.
(Overrides BsonArrayIndexOf(BsonValue, Int32, Int32).) | |
Insert |
Inserts a new value into the array.
(Overrides BsonArrayInsert(Int32, BsonValue).) | |
MemberwiseClone | (Inherited from Object.) | |
OperatorEqualsImplementation |
Implementation of operator ==.
(Inherited from BsonValue.) | |
Remove |
Removes the first occurrence of a value from the array.
(Overrides BsonArrayRemove(BsonValue).) | |
RemoveAt |
Removes an element from the array.
(Overrides BsonArrayRemoveAt(Int32).) | |
ThrowIfDisposed |
Throws if disposed.
| |
ToArray |
Converts the BsonArray to an array of BsonValues.
(Overrides BsonArrayToArray.) | |
ToBoolean |
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
(Inherited from BsonValue.) | |
ToDecimal |
Converts this BsonValue to a Decimal.
(Inherited from BsonValue.) | |
ToDecimal128 |
Converts this BsonValue to a Decimal128.
(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.
(Overrides BsonArrayToList.) | |
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.
(Overrides BsonArrayToString.) | |
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.) |