LanguageService.Site Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the service provider given to this language service.
public:
property IServiceProvider ^ Site { IServiceProvider ^ get(); };
public IServiceProvider Site { get; }
member this.Site : IServiceProvider
Public ReadOnly Property Site As IServiceProvider
Property Value
Returns an IServiceProvider object or a null value if SetSite(Object) was not called with a valid service provider.
Remarks
The service provider is initialized by a call to Microsoft.VisualStudio.Package.LanguageService.SetSite after the language service has been instantiated by the package.