LanguagePreferences.GetLanguagePreferences Method
Gets the modifiable user language settings from Visual Studio.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Sub GetLanguagePreferences
'Usage
Dim instance As LanguagePreferences
instance.GetLanguagePreferences()
public virtual void GetLanguagePreferences()
public:
virtual void GetLanguagePreferences()
public function 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.