IBindCtx Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides the managed definition of the IBindCtx interface.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

public interface IBindCtx


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.

System_CAPS_pubmethodGetObjectParam(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.

System_CAPS_pubmethodRegisterObjectParam(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 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.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top