Export (0) Print
Expand All


IIS 6.0

The IApplicationObject::get_Contents method retrieves the Application.Contents collection.

HRESULT get_Contents(
   IVariantDictionary** ppProperties


[retval] [out] Points to an IVariantDictionary interface pointer that receives the Contents collection.

The Application.Contents collection contains all variables and objects that have been given application scope with the Server.CreateObject command. You can iterate through the Contents collection with the get__NewEnum method exposed by the IRequestDictionary interface. You can also retrieve a specific member of the collection with the get_Item method.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

© 2014 Microsoft