IUIHostLocale2 Interface


Provides access to the host's UI locale services to manage dialog box string localization.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IUIHostLocale2 : IUIHostLocale


Returns the dialog box font used for the host UI.

System_CAPS_pubmethodGetUILibraryFileName(String, String, String)

Returns a UI library (DLL) file.


Returns the UI locale identifier of the host.

System_CAPS_pubmethodLoadDialog(UInt32, UInt32, IntPtr)

Loads a dialog box template.

System_CAPS_pubmethodLoadUILibrary(String, String, UInt32, UInt32)

Retrieves an HINSTANCE of the satellite DLL from which to obtain the localized strings.

System_CAPS_pubmethodMungeDialogFont(UInt32, Byte[], IntPtr)

Indicates the dialog box template to use.

This interface is required only when accommodating foreign-language strings provided in a satellite DLL.

Return to top