LanguagePreferences Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LanguagePreferences() |
Initializes a new instance of the LanguagePreferences class (default initialization only). |
LanguagePreferences(IServiceProvider, Guid, String) |
Gets the language preferences. |
LanguagePreferences()
Initializes a new instance of the LanguagePreferences class (default initialization only).
public:
LanguagePreferences();
public:
LanguagePreferences();
LanguagePreferences();
public LanguagePreferences ();
Public Sub New ()
Applies to
LanguagePreferences(IServiceProvider, Guid, String)
Gets the language preferences.
public:
LanguagePreferences(IServiceProvider ^ site, Guid langSvc, System::String ^ name);
public LanguagePreferences (IServiceProvider site, Guid langSvc, string name);
new Microsoft.VisualStudio.Package.LanguagePreferences : IServiceProvider * Guid * string -> Microsoft.VisualStudio.Package.LanguagePreferences
Public Sub New (site As IServiceProvider, langSvc As Guid, name As String)
Parameters
- site
- IServiceProvider
[in] An IServiceProvider object supplying the service provider. This value cannot be null
.
- langSvc
- Guid
[in] The GUID of the language service these preferences are associated with.
- name
- String
[in] The name of the language service.
Remarks
name
is used to read the registry and must be the same name the language service was registered under. All of the known language service properties are read from the registry under this name.