LanguagePreferences Constructor (IServiceProvider^, Guid, String^)

 

Initializes a new instance of the LanguagePreferences class (this is the preferred method).

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

public:
LanguagePreferences(
	IServiceProvider^ site,
	Guid langSvc,
	String^ name
)

Parameters

site
Type: System::IServiceProvider^

[in] An IServiceProvider object supplying the service provider. This value cannot be null.

langSvc
Type: System::Guid

[in] The GUID of the language service these preferences are associated with.

name
Type: System::String^

[in] The name of the language service.

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.

Return to top
Show: