IContext interface (objidlbase.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 (objidlbase.h) method returns an IEnumContextProps interface pointer that can be used to enumerate the context properties.
IContext::GetProperty

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

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

The IContext::SetProperty (objidlbase.h) method 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 objidlbase.h (include ObjIdl.h)