Share via


LanguageService.Preferences Property

Provides access to the language service preferences.

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

Syntax

'Declaration
Public Property Preferences As LanguagePreferences
'Usage
Dim instance As LanguageService 
Dim value As LanguagePreferences 

value = instance.Preferences

instance.Preferences = value
public LanguagePreferences Preferences { get; set; }
public:
property LanguagePreferences^ Preferences {
    LanguagePreferences^ get ();
    void set (LanguagePreferences^ value);
}
public function get Preferences () : LanguagePreferences 
public function set Preferences (value : LanguagePreferences)

Property Value

Type: Microsoft.VisualStudio.Package.LanguagePreferences
Always returns a LanguagePreferences object.

Remarks

The first time language preferences are needed, LanguageService.GetLanguagePreferences is called to obtain the LanguagePreferences object.

.NET Framework Security

See Also

Reference

LanguageService Class

LanguageService Members

Microsoft.VisualStudio.Package Namespace