LanguagePreferences::Site Property

 

Gets or sets the service provider.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

protected:
property IServiceProvider^ Site {
	IServiceProvider^ get();
	void set(IServiceProvider^ value);
}

Property Value

Type: System::IServiceProvider^

An IServiceProvider object or null if the service provider was not set.

The value returned is the same value passed to the LanguagePreferences constructor. This property is typically not set outside the LanguagePreferences class itself.

Return to top
Show: