UCOMIBindCtx 介面

定義

警告

此 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. https://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIBindCtx
type UCOMIBindCtx = interface
Public Interface UCOMIBindCtx
屬性

備註

如需詳細資訊,請參閱 MSDN library 的 com 子資料夾中 IBindCtx 的現有檔。For more information, please see the existing documentation for IBindCtx in the com subfolder of the MSDN library.

方法

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)

將存取權交回與這個繫結程序相關的執行物件表格 (Running Object Table,ROT)。Return access to the Running Object Table (ROT) relevant to this binding process.

RegisterObjectBound(Object)

將傳遞的物件登錄為在 Moniker 作業中被繫結而且應該在作業完成時釋放的物件。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()

釋放所有目前由 RegisterObjectBound(Object) 以繫結內容登錄的物件。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)

將一組參數儲存在繫結內容中,這些參數會使用這個繫結內容套用至稍後的 UCOMIMoniker 作業。Store in the bind context a block of parameters that will apply to later UCOMIMoniker operations using this bind context.

適用於