Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindCtx Interface

Provides the managed definition of the IBindCtx interface.

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

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IBindCtx

The IBindCtx type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryEnumObjectParamEnumerates the strings that are the keys of the internally maintained table of contextual object parameters.
Public methodSupported by Portable Class LibraryGetBindOptionsReturns the current binding options stored in the current bind context.
Public methodSupported by Portable Class LibraryGetObjectParamLooks up the given key in the internally maintained table of contextual object parameters and returns the corresponding object, if one exists.
Public methodSupported by Portable Class LibraryGetRunningObjectTableReturns access to the Running Object Table (ROT) relevant to this binding process.
Public methodSupported by Portable Class LibraryRegisterObjectBoundRegisters 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.
Public methodSupported by Portable Class LibraryRegisterObjectParamRegisters the specified object pointer under the specified name in the internally maintained table of object pointers.
Public methodSupported by Portable Class LibraryReleaseBoundObjectsReleases all the objects currently registered with the bind context by using the RegisterObjectBound method.
Public methodSupported by Portable Class LibraryRevokeObjectBoundRemoves the object from the set of registered objects that need to be released.
Public methodSupported by Portable Class LibraryRevokeObjectParamRevokes 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.
Public methodSupported by Portable Class LibrarySetBindOptionsStores a block of parameters in the bind context. These parameters will apply to later UCOMIMoniker operations that use this bind context.
Top

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft