แก้ไข

แชร์ผ่าน


UCOMIBindCtx Interface

Definition

Caution

Use System.Runtime.InteropServices.ComTypes.IBindCtx instead. http://go.microsoft.com/fwlink/?linkid=14202

Use BIND_OPTS instead.

public interface class UCOMIBindCtx
[System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIBindCtx
[System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IBindCtx instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIBindCtx
[<System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIBindCtx = interface
[<System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IBindCtx instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIBindCtx = interface
Public Interface UCOMIBindCtx
Attributes

Remarks

For more information, please see the existing documentation for IBindCtx in the com subfolder of the MSDN library.

Methods

EnumObjectParam(UCOMIEnumString)

Enumerate the strings which are the keys of the internally-maintained table of contextual object parameters.

GetBindOptions(BIND_OPTS)

Return the current binding options stored in this bind context.

GetObjectParam(String, Object)

Lookup the given key in the internally-maintained table of contextual object parameters and return the corresponding object, if one exists.

GetRunningObjectTable(UCOMIRunningObjectTable)

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

RegisterObjectBound(Object)

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

RegisterObjectParam(String, Object)

Register the given object pointer under the specified name in the internally-maintained table of object pointers.

ReleaseBoundObjects()

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

RevokeObjectBound(Object)

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

RevokeObjectParam(String)

Revoke the registration of the object currently found under this key in the internally-maintained table of contextual object parameters, if any such key is currently registered.

SetBindOptions(BIND_OPTS)

Store in the bind context a block of parameters that will apply to later UCOMIMoniker operations using this bind context.

Applies to