IContext interface (objidl.h)

Supports setting COM+ context properties.

Inheritance

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

Methods

The IContext interface has these methods.

 
IContext::EnumContextProps

The IContext::EnumContextProps method (objidl.h) returns an IEnumContextProps interface pointer that can enumerate the context properties in this context.
IContext::GetProperty

The IContext::GetProperty method (objidl.h) retrieves the specified context property from the context.
IContext::RemoveProperty

The IContext::RemoveProperty method (objidl.h) removes the specified context property from the context.
IContext::SetProperty

The IContext::SetProperty method (objidl.h) adds the specified context property to the object context.

Remarks

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

Requirements

Requirement Value
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)