| title | IAppHostPropertyCollection Interface |
|---|---|
| description | Learn how the IAppHostPropertyCollection interface represents a collection of properties. |
| ms.date | 10/07/2016 |
| ms.assetid | 573fc810-3903-77ba-7494-5e432686d459 |
Represents a collection of properties.
interface IAppHostPropertyCollection : IUnknown This interface contains no methods.
The following table lists the properties exposed by the IAppHostPropertyCollection interface.
| Property | Description |
|---|---|
| Count | Gets the number properties in the collection. |
| Item | Gets the property with the requested index or property name in the collection. |
The following code example demonstrates how to use the IAppHostPropertyCollection interface to access the enabled property of the defaultDocument configuration section.
[!code-cppIAppHostAdminLibrary#5]
IAppHostPropertyCollection
| Type | Description |
|---|---|
| Client | - IIS 7.0 on [!INCLUDEwinvista] - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
| Server | - IIS 7.0 on [!INCLUDEwinsrv2008] - 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 |
| Product | - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0 - [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100] |
| Header | Ahadmin.h |
Application Host Administration Interfaces
IAppHostProperty Interface