다음을 통해 공유


IDocumentSite.GetCompiler Method

Returns the requested interface of the compiler for the document.

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

Syntax

'Declaration
Function GetCompiler ( _
    ByRef iid As Guid, _
    <OutAttribute> ByRef ppvObj As IntPtr _
) As Integer
int GetCompiler(
    ref Guid iid,
    out IntPtr ppvObj
)
int GetCompiler(
    [InAttribute] Guid% iid, 
    [OutAttribute] IntPtr% ppvObj
)
abstract GetCompiler : 
        iid:Guid byref * 
        ppvObj:IntPtr byref -> int
function GetCompiler(
    iid : Guid, 
    ppvObj : IntPtr
) : int

Parameters

  • iid
    Type: Guid%

    [in] Requested interface (REFIID).

  • ppvObj
    Type: IntPtr%

    [out] The desired interface.

Return Value

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

Remarks

COM Signature

From objext.idl:

HRESULT IDocumentSite::GetCompiler(
   [in] REFIID iid, 
   [out] void** ppvObj
);

.NET Framework Security

See Also

Reference

IDocumentSite Interface

Microsoft.VisualStudio.Shell.Interop Namespace