Click or drag to resize

BsonArray Class

Inheritance Hierarchy
SystemObject
  Internal.LiteDBBsonValue
    Internal.LiteDBBsonArray

Namespace: Internal.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class BsonArray : BsonValue, IList<BsonValue>, 
	ICollection<BsonValue>, IEnumerable<BsonValue>, IEnumerable

The BsonArray type exposes the following members.

Constructors
 NameDescription
Public methodBsonArrayInitializes a new instance of the BsonArray class
Public methodBsonArray(BsonValue)Initializes a new instance of the BsonArray class
Public methodBsonArray(IEnumerableBsonValue)Initializes a new instance of the BsonArray class
Public methodBsonArray(ListBsonValue)Initializes a new instance of the BsonArray class
Top
Properties
 NameDescription
Public propertyAsArray
(Inherited from BsonValue)
Public propertyAsBinary
(Inherited from BsonValue)
Public propertyAsBoolean
(Inherited from BsonValue)
Public propertyAsDateTime
(Inherited from BsonValue)
Public propertyAsDecimal
(Inherited from BsonValue)
Public propertyAsDocument
(Inherited from BsonValue)
Public propertyAsDouble
(Inherited from BsonValue)
Public propertyAsGuid
(Inherited from BsonValue)
Public propertyAsInt32
(Inherited from BsonValue)
Public propertyAsInt64
(Inherited from BsonValue)
Public propertyAsObjectId
(Inherited from BsonValue)
Public propertyAsString
(Inherited from BsonValue)
Public propertyCount 
Public propertyIsArray
(Inherited from BsonValue)
Public propertyIsBinary
(Inherited from BsonValue)
Public propertyIsBoolean
(Inherited from BsonValue)
Public propertyIsDateTime
(Inherited from BsonValue)
Public propertyIsDecimal
(Inherited from BsonValue)
Public propertyIsDocument
(Inherited from BsonValue)
Public propertyIsDouble
(Inherited from BsonValue)
Public propertyIsGuid
(Inherited from BsonValue)
Public propertyIsInt32
(Inherited from BsonValue)
Public propertyIsInt64
(Inherited from BsonValue)
Public propertyIsMaxValue
(Inherited from BsonValue)
Public propertyIsMinValue
(Inherited from BsonValue)
Public propertyIsNull
(Inherited from BsonValue)
Public propertyIsNumber
(Inherited from BsonValue)
Public propertyIsObjectId
(Inherited from BsonValue)
Public propertyIsReadOnly 
Public propertyIsString
(Inherited from BsonValue)
Public propertyItemInt32
(Overrides BsonValueItemInt32)
Public propertyItemString Get/Set a field for document. Fields are case sensitive - Works only when value are document
(Inherited from BsonValue)
Public propertyRawValue 
Public propertyType Indicate BsonType of this BsonValue
(Inherited from BsonValue)
Top
Methods
 NameDescription
Public methodAdd 
Public methodAddRange(IEnumerableBsonValue) 
Public methodAddRangeTCollection(TCollection) 
Public methodClear 
Public methodCompareTo(BsonValue)
(Overrides BsonValueCompareTo(BsonValue))
Public methodCompareTo(BsonValue, Collation)
(Inherited from BsonValue)
Public methodContains 
Public methodCopyTo 
Public methodEquals(BsonValue)
(Inherited from BsonValue)
Public methodEquals(Object)
(Inherited from BsonValue)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodGetBytesCountElement Get how many bytes one single element will used in BSON format
(Inherited from BsonValue)
Public methodGetEnumerator 
Public methodGetHashCode
(Inherited from BsonValue)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf 
Public methodInsert 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove 
Public methodRemoveAt 
Public methodToString
(Inherited from BsonValue)
Top
Extension Methods
 NameDescription
Public Extension MethodGetReverseBsonValue Returns reversed list.
(Defined by CollectionUtility)
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also