SimpleEditorView::SetSite Method (IServiceProvider^)
Visual Studio 2015
Initializes this view.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- site
-
Type:
Microsoft.VisualStudio.OLE.Interop::IServiceProvider^
The main IServiceProvider.
This method registers the view with the T:Microsoft.VisualStudio.Shell.Interop.IVsTextManager so that it knows the user is working with a view of the text buffer. If the file is edited outside of the development environment, the text buffer will ask the user whether to reload the file.
Show: