Share via


LanguagePreferences.Init Method

Initializes LanguagePreferences.

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

Syntax

'Declaration
Public Overridable Sub Init
'Usage
Dim instance As LanguagePreferences

instance.Init()
public virtual void Init()
public:
virtual void Init()
public function Init()

Remarks

This method performs all the initialization for language preferences, including loading the preferences from the registry and obtaining user settings from Visual Studio.

The base method calls InitMachinePreferences to load the language service-specific registry entries and then calls InitUserPreferences to obtain the language service-oriented user settings.

This method must be called from your implementation of GetLanguagePreferences on the LanguageService class after instantiating the LanguagePreferences class.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace