3.1.4.13 IAppHostElementCollection

The IAppHostElementCollection interface provides methods that access a collection of "collection IAppHostElements".

"Collection IAppHostElements" are a special class of child IAppHostElement objects where all objects typically share the same name but contain different IAppHostProperty objects. This IAppHostElementCollection is a collection of these special objects.

The IAppHostElementCollection interface inherits opnums 0–2 from the IUnknown interface.

Methods in RPC Opnum Order

Method

Description

Count

Returns the count of elements.

Opnum: 3

Item

Returns the value that is associated with the element at the specified index.

Opnum: 4

AddElement

Adds an element to the collection.

Opnum: 5

DeleteElement

Deletes an element from the collection.

Opnum: 6

Clear

Clears an element from the collection.

Opnum: 7

CreateNewElement

Creates a new element in the collection.

Opnum: 8

Schema

Returns the Document Object Model (DOM) description for the collection.

Opnum: 9