Partilhar via


LanguagePreferences.GetLanguagePreferences Method

Definition

Gets the modifiable user language settings from Visual Studio.

public:
 virtual void GetLanguagePreferences();
public:
 virtual void GetLanguagePreferences();
 virtual void GetLanguagePreferences();
public virtual void GetLanguagePreferences ();
abstract member GetLanguagePreferences : unit -> unit
override this.GetLanguagePreferences : unit -> unit
Public Overridable Sub GetLanguagePreferences ()

Remarks

This method obtains any language service-specific settings that the user can change. If your language service has any additional user-modifiable settings associated with it, you must derive a class from the LanguagePreferences class and override this method. Be sure to call the base method before your implementation of this method.

The base method calls the GetUserPreferences2 method to obtain the user language settings.

This method is typically called from InitUserPreferences.

Applies to