Blocks Object (IBlocks Interface)
This object represents a collection of blocks. It may exist as subobject of the Page or Block object, and serves as a storage of page blocks or a storage of child blocks of the block, respectively.
The Blocks object is a so-called "connectable object". The methods of the Blocks object report information about the collection modification through special outgoing interfaces. These interfaces are ICollectionEvents (for C++) and the dispinterface DICollectionEvents (for Visual Basic). It should be noted that Visual Basic users should not care for details of implementing event interfaces, as this development platform provides easy means for handling them.
|Count||Integer, read-only||Stores the number of elements in the collection.|
|Element||Block, read-only||Provides access to a single element of the collection.|
|Item||Provides access to a Block object in the collection.|
Working with Connectable Objects
3/24/2023 8:48:38 AM