Partager via


IVsTextLayerMarker.QueryClientInterface Method

Gets the client interface specified.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function QueryClientInterface ( _
    ByRef iid As Guid, _
    <OutAttribute> ByRef ppClient As IntPtr _
) As Integer
int QueryClientInterface(
    ref Guid iid,
    out IntPtr ppClient
)
int QueryClientInterface(
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppClient
)
abstract QueryClientInterface : 
        iid:Guid byref * 
        ppClient:IntPtr byref -> int 
function QueryClientInterface(
    iid : Guid, 
    ppClient : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::QueryClientInterface(
   [in] REFIID iid,
   [out, iid_is(iid)] void **ppClient
);

.NET Framework Security

See Also

Reference

IVsTextLayerMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace