TROBSONBaseCollection

Overview

The TROBSONBaseCollection class is created to represent a unordered set of name/value pairs. This class is used internally by the BSON (de)serializer inside the TROBSONMessage class.
Users are not required to deal with BSON directly, so there is no need to use this class.

Location


Properties


Items

This property allows the collection content to be accessed by index.

property Items[Index: Integer]: TROBSONElement read write

Instance Methods


constructor Create

Creates a new instance

constructor Create

AsBSON

Returns object as BSON bytes

function AsBSON: TBytes