IVsTextLayerMarker.QueryClientInterface Method

Lets the caller knowwhether the marker was invalidated

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

Syntax

'宣言
Function QueryClientInterface ( _
    ByRef iid As Guid, _
    <OutAttribute> ByRef ppClient As IntPtr _
) As Integer
'使用
Dim instance As IVsTextLayerMarker
Dim iid As Guid
Dim ppClient As IntPtr
Dim returnValue As Integer

returnValue = instance.QueryClientInterface(iid, _
    ppClient)
int QueryClientInterface(
    ref Guid iid,
    out IntPtr ppClient
)
int QueryClientInterface(
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppClient
)
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. S_FALSE means the marker is invalidated.

Remarks

COM Signature

From textmgr.idl:

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

Permissions

See Also

Reference

IVsTextLayerMarker Interface

IVsTextLayerMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace