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
‘선언
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
- iid
Type: System.Guid%
[in] The client iid.
- ppClient
Type: System.IntPtr%
[out] The client interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.