Share via


IAppHostElementCollection Interface

 

Represents a collection of IAppHostElement interfaces.

Syntax

interface IAppHostElementCollection : IUnknown  

Methods

The following table lists the methods exposed by the IAppHostElementCollection interface.

Method Description
AddElement Adds an element to the current collection.
Clear Removes all elements from the current collection.
CreateNewElement Creates a new element.
DeleteElement Removes the requested element from the collection

Properties

The following table lists the properties exposed by the IAppHostElementCollection interface.

Property Description
Count Returns the number of elements in the current collection
Item Gets the element at the requested index in the current collection.
Schema Returns the schema assigned to the current collection

Inheritance Hierarchy

IUnknown

IAppHostElementCollection

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Header Ahadmin.h

See Also

Application Host Administration Interfaces
IAppHostElement Interface