Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 2.61 KB

File metadata and controls

48 lines (36 loc) · 2.61 KB
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

IAppHostPropertyCollection Interface

Represents a collection of properties.

Syntax

interface IAppHostPropertyCollection : IUnknown  

Methods

This interface contains no methods.

Properties

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.

Example

The following code example demonstrates how to use the IAppHostPropertyCollection interface to access the enabled property of the defaultDocument configuration section.

[!code-cppIAppHostAdminLibrary#5]

Inheritance Hierarchy

IUnknown

IAppHostPropertyCollection

Requirements

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

See Also

Application Host Administration Interfaces
IAppHostProperty Interface