IVsEditorFactory::SetSite Method (IServiceProvider^)
Visual Studio 2015
Initializes an editor in the environment.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- psp
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
[in] Pointer to the IServiceProvider interface which can be used by the factory to obtain other interfaces.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsEditorFactory::SetSite(
[in] IServiceProvider *pSP
);
Show: