次の方法で共有


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.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣言
Public Property Preferences As LanguagePreferences
public LanguagePreferences Preferences { get; set; }

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

Microsoft.VisualStudio.Package Namespace