UCOMIBindCtx UCOMIBindCtx UCOMIBindCtx UCOMIBindCtx Interface

定义

警告

此 API 现已过时。

请改用 BIND_OPTSUse BIND_OPTS instead.

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

注解

有关详细信息,请参阅的现有文档IBindCtxMSDN 库的 com 子文件夹中。For more information, please see the existing documentation for IBindCtx in the com subfolder of the MSDN library.

方法

EnumObjectParam(UCOMIEnumString) EnumObjectParam(UCOMIEnumString) EnumObjectParam(UCOMIEnumString) EnumObjectParam(UCOMIEnumString)

枚举字符串,这些字符串是在内部维护的上下文对象参数表的项。Enumerate the strings which are the keys of the internally-maintained table of contextual object parameters.

GetBindOptions(BIND_OPTS) GetBindOptions(BIND_OPTS) GetBindOptions(BIND_OPTS) GetBindOptions(BIND_OPTS)

返回当前存储在此绑定上下文中的绑定选项。Return the current binding options stored in this bind context.

GetObjectParam(String, Object) GetObjectParam(String, Object) GetObjectParam(String, Object) 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) GetRunningObjectTable(UCOMIRunningObjectTable) GetRunningObjectTable(UCOMIRunningObjectTable) GetRunningObjectTable(UCOMIRunningObjectTable)

返回对与此绑定进程相关的运行对象表 (ROT) 的访问权限。Return access to the Running Object Table (ROT) relevant to this binding process.

RegisterObjectBound(Object) RegisterObjectBound(Object) RegisterObjectBound(Object) 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) RegisterObjectParam(String, Object) RegisterObjectParam(String, Object) RegisterObjectParam(String, Object)

以内部维护的对象指针表中的指定名称注册给定的对象指针。Register the given object pointer under the specified name in the internally-maintained table of object pointers.

ReleaseBoundObjects() ReleaseBoundObjects() ReleaseBoundObjects() ReleaseBoundObjects()

释放所有当前由 RegisterObjectBound(Object) 用上下文绑定注册的对象。Releases all the objects currently registered with the bind context by RegisterObjectBound(Object).

RevokeObjectBound(Object) RevokeObjectBound(Object) RevokeObjectBound(Object) RevokeObjectBound(Object)

从需要释放的注册对象集中移除该对象。Removes the object from the set of registered objects that need to be released.

RevokeObjectParam(String) RevokeObjectParam(String) RevokeObjectParam(String) 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) SetBindOptions(BIND_OPTS) SetBindOptions(BIND_OPTS) SetBindOptions(BIND_OPTS)

在上下文绑定中存储一个参数块,此参数块将应用于稍后使用此上下文绑定的 UCOMIMoniker 操作。Store in the bind context a block of parameters that will apply to later UCOMIMoniker operations using this bind context.

适用于