UCOMIMoniker.BindToObject(UCOMIBindCtx, UCOMIMoniker, Guid, Object) Método

Definição

Usa o nome para se ligar ao objeto que identifica.

public:
 void BindToObject(System::Runtime::InteropServices::UCOMIBindCtx ^ pbc, System::Runtime::InteropServices::UCOMIMoniker ^ pmkToLeft, Guid % riidResult, [Runtime::InteropServices::Out] System::Object ^ % ppvResult);
public void BindToObject(System.Runtime.InteropServices.UCOMIBindCtx pbc, System.Runtime.InteropServices.UCOMIMoniker pmkToLeft, ref Guid riidResult, out object ppvResult);
abstract member BindToObject : System.Runtime.InteropServices.UCOMIBindCtx * System.Runtime.InteropServices.UCOMIMoniker * Guid * obj -> unit
Public Sub BindToObject (pbc As UCOMIBindCtx, pmkToLeft As UCOMIMoniker, ByRef riidResult As Guid, ByRef ppvResult As Object)

Parâmetros

pbc
UCOMIBindCtx

Uma referência à IBindCtx interface no objeto de contexto de ligação usada nesta operação de ligação.

pmkToLeft
UCOMIMoniker

Uma referência ao nome à esquerda deste nome, se o nome fizer parte de um nome composto.

riidResult
Guid

O identificador de interface (IID) da interface que o cliente pretende usar para comunicar com o objeto que o nome identifica.

ppvResult
Object

Após o retorno bem-sucedido, a referência à interface solicitada por riidResult.

Observações

Para mais informações sobre IMoniker::BindToObject, consulte a Biblioteca MSDN.

Aplica-se a