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

Returns an IEnumContextProps interface pointer that can be used to enumerate the context properties in this context. (IContext.EnumContextProps)
IContext::GetProperty

Retrieves the specified context property from the context. (IContext.GetProperty)
IContext::RemoveProperty

Removes the specified context property from the context. (IContext.RemoveProperty)
IContext::SetProperty

Adds the specified context property to the object context. (IContext.SetProperty)

Remarks

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

Requirements

   
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)