IBindCtx 介面

定義

提供 IBindCtx 介面的 Managed 定義。

public interface class IBindCtx
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IBindCtx
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")]
public interface IBindCtx
public interface IBindCtx
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IBindCtx = interface
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.Guid("0000000e-0000-0000-C000-000000000046")>]
type IBindCtx = interface
type IBindCtx = interface
Public Interface IBindCtx
屬性

備註

如需詳細資訊,請參閱 MSDN 文件庫中的現有檔 IBindCtx

Common Language Runtime 會在機器碼中的 COM 方法傳回 HRESULT 時擲回例外狀況。 如需詳細資訊,請參閱 How to: Map HRESULTs and Exceptions

方法

EnumObjectParam(IEnumString)

列舉字串,其為內容物件參數的內部維護表格之機碼。

GetBindOptions(BIND_OPTS)

傳回儲存在目前繫結內容中的目前繫結選項。

GetObjectParam(String, Object)

在內容物件參數的內部維護表格中查詢指定的機碼,並傳回對應的物件 (如果存在)。

GetRunningObjectTable(IRunningObjectTable)

傳回與這個繫結處理序關聯的執行物件表格 (ROT) 之存取權。

RegisterObjectBound(Object)

將傳遞的物件登錄為已在 Moniker 作業中繫結,應該在作業完成時釋放的其中一個物件。

RegisterObjectParam(String, Object)

將指定的物件指標登錄在物件指標之內部維護表格中的指定名稱下。

ReleaseBoundObjects()

釋放所有目前使用 RegisterObjectBound(Object) 方法以繫結內容登錄的物件。

RevokeObjectBound(Object)

從需要被釋放的已登錄物件組中移除物件。

RevokeObjectParam(String)

如果目前已登錄任何在內容物件參數之內部維護表格中的指定機碼,撤銷目前在該機碼下找到的物件登錄。

SetBindOptions(BIND_OPTS)

儲存繫結內容中的參數區塊。 這些參數會套用至使用這個繫結內容的後續 UCOMIMoniker 作業。

適用於