IContext interface

Supports setting COM+ context properties.


The IContext interface has these methods.

Method Description
IContext::EnumContextProps Returns an IEnumContextProps interface pointer that can be used to enumerate the context properties in this context.
IContext::GetProperty Retrieves the specified context property from the context.
IContext::RemoveProperty Removes the specified context property from the context.
IContext::SetProperty Adds the specified context property to the object context.


An instance of this interface for the current context can be obtained using CoGetObjectContext.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h (include ObjIdl.h)