LanguagePreferences::InitMachinePreferences Method (RegistryKey^, String^)

 

Gets language service-specific settings from the registry.

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

public:
virtual void InitMachinePreferences(
	RegistryKey^ key,
	String^ name
)

Parameters

key
Type: Microsoft.Win32::RegistryKey^

[in] The RegistryKey object representing the desired base registry subkey.

name
Type: System::String^

[in] The name of the registry subkey containing the desired registry entries.

The settings read by this method are applied when the language service is instantiated and are not normally subject to user modification without changing the registry. User-modifiable settings are obtained through InitUserPreferences.

The base method reads the language service-specific registry settings as described in LanguagePreferences.

This method is typically called from Init.

Return to top
Show: