IBindCtx Interface


Provides the managed definition of the IBindCtx interface.

public interface class IBindCtx
public interface IBindCtx
type IBindCtx = interface
Public Interface IBindCtx


For more information, see the existing documentation for IBindCtx in the MSDN library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.



Enumerates the strings that are the keys of the internally maintained table of contextual object parameters.


Returns the current binding options stored in the current bind context.

GetObjectParam(String, Object)

Looks up the given key in the internally maintained table of contextual object parameters and returns the corresponding object, if one exists.


Returns access to the Running Object Table (ROT) relevant to this binding process.


Registers the passed object as one of the objects that has been bound during a moniker operation and that should be released when the operation is complete.

RegisterObjectParam(String, Object)

Registers the specified object pointer under the specified name in the internally maintained table of object pointers.


Releases all the objects currently registered with the bind context by using the RegisterObjectBound(Object) method.


Removes the object from the set of registered objects that need to be released.


Revokes the registration of the object currently found under the specified key in the internally maintained table of contextual object parameters, if that key is currently registered.


Stores a block of parameters in the bind context. These parameters will apply to later UCOMIMoniker operations that use this bind context.

Applies to