LanguagePreferences.InitMachinePreferences(RegistryKey, String) Method

Definition

Gets language service-specific settings from the registry.

public:
 virtual void InitMachinePreferences(Microsoft::Win32::RegistryKey ^ key, System::String ^ name);
public:
 virtual void InitMachinePreferences(Microsoft::Win32::RegistryKey ^ key, Platform::String ^ name);
 virtual void InitMachinePreferences(Microsoft::Win32::RegistryKey const & key, std::wstring const & name);
public virtual void InitMachinePreferences (Microsoft.Win32.RegistryKey key, string name);
abstract member InitMachinePreferences : Microsoft.Win32.RegistryKey * string -> unit
override this.InitMachinePreferences : Microsoft.Win32.RegistryKey * string -> unit
Public Overridable Sub InitMachinePreferences (key As RegistryKey, name As String)

Parameters

key
RegistryKey

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

name
String

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

Remarks

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.

Applies to