LanguageService.Preferences Property
Provides access to the language service preferences.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Property Preferences As LanguagePreferences
public LanguagePreferences Preferences { get; set; }
public:
property LanguagePreferences^ Preferences {
LanguagePreferences^ get ();
void set (LanguagePreferences^ value);
}
member Preferences : LanguagePreferences with get, set
function get Preferences () : LanguagePreferences
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
- 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.