IEnumContextProps interface

Provides a mechanism for enumerating the context properties associated with a COM+ object context.

When to implement

You should not implement this interface. The system implementation of this interface is provided by the IContext::EnumContextProps method.

When to use

This interface should be used whenever a client needs to enumerate the context properties in a COM+ object context.

To use IEnumContextProps and its methods, its necessary to include a define of the USE_COM_CONTEXT_DEF system macro in the source code.

Members

The IEnumContextProps interface inherits from the IUnknown interface. IEnumContextProps also has these types of members:

Methods

The IEnumContextProps interface has these methods.

MethodDescription
Clone

Creates a new enumerator that contains the same enumeration state as the current one.

Count

Retrieves the number of context properties in the context.

Next

Retrieves the specified number of items in the enumeration sequence.

Reset

Resets the enumeration sequence to the beginning.

Skip

Skips over the specified number of items in the enumeration sequence.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IEnumContextProps is defined as 000001c1-0000-0000-C000-000000000046

 

 

Community Additions

ADD
Show:
© 2014 Microsoft