IDocumentSite2::GetCompiler Method (Guid, IntPtr)

 

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)

int GetCompiler(
	[InAttribute] Guid% iid,
	[OutAttribute] IntPtr% ppvObj
)

Parameters

iid
Type: System::Guid

[in] Requested interface (REFIID).

ppvObj
Type: System::IntPtr

[out] The desired interface.

Return Value

Type: System::Int32

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

From objext.idl:

[C++]

HRESULT IDocumentSite2::GetCompiler(
   [in] REFIID iid, 
   [out] void** ppvObj
);
Return to top
Show: