EditorFactory::SetSite Method (IServiceProvider^)
Visual Studio 2015
Sets the service provider.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- psp
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
The IServiceProvider object of the editor being initialized.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
This method also gets the language and editor extensions.
Show: