LanguagePreferences.Init Method

Initializes LanguagePreferences.

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

Syntax

'宣言
Public Overridable Sub Init
'使用
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.

Permissions

See Also

Reference

LanguagePreferences Class

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace