EditorFactory.GetSite Method
Gets the main service provider.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Protected Function GetSite As IServiceProvider
'Usage
Dim returnValue As IServiceProvider
returnValue = Me.GetSite()
protected IServiceProvider GetSite()
protected:
IServiceProvider^ GetSite()
protected function GetSite() : IServiceProvider
Return Value
Type: System.IServiceProvider
IServiceProvider.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.