Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.49 KB

File metadata and controls

44 lines (33 loc) · 2.49 KB
title IAppHostChildElementCollection Interface
description IAppHostChildElementCollection Interface represents the child configuration elements that are nested within the current element.
ms.date 10/07/2016
ms.assetid 4e64c317-e442-5738-b14c-1f252b7b6ea9

IAppHostChildElementCollection Interface

Represents the child configuration elements that are nested within the current element.

Syntax

interface IAppHostChildElementCollection: IUnknown  

Methods

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

Method Description
Count Gets the number of configuration elements in the collection.
Item Gets a configuration element from the collection.

Example

The following code example lists all child elements under the system.webServer/asp configuration section for the MACHINE/WEBROOT/APPHOST path.

[!code-cppIAppHostAdminLibrary#1]

Inheritance Hierarchy

IUnknown

IAppHostChildElementCollection

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

IAppHostChildElementCollection Interface