UCOMIBindCtx.GetObjectParam(String, Object) 方法

定义

在内部维护的上下文对象参数表中查找给定的项并返回相应的对象(如果此对象存在)。Lookup the given key in the internally-maintained table of contextual object parameters and return the corresponding object, if one exists.

public:
 void GetObjectParam(System::String ^ pszKey, [Runtime::InteropServices::Out] System::Object ^ % ppunk);
public void GetObjectParam (string pszKey, out object ppunk);
abstract member GetObjectParam : string * obj -> unit
Public Sub GetObjectParam (pszKey As String, ByRef ppunk As Object)

参数

pszKey
String

要搜索的对象名称。The name of the object to search for.

ppunk
Object

成功返回时的对象接口指针。On successful return, the object interface pointer.

注解

有关详细信息,请参阅 IBindCtx::GetObjectParam MSDN library 中的现有文档。For more information, please see the existing documentation for IBindCtx::GetObjectParam in the MSDN library.

适用于