Compartir a través de


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")> _
Public Interface IUIHostLocale2 _
    Inherits IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
public interface IUIHostLocale2 : IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute(L"2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
public interface class IUIHostLocale2 : IUIHostLocale
[<InterfaceTypeAttribute()>]
[<GuidAttribute("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")>]
type IUIHostLocale2 =  
    interface 
        interface IUIHostLocale 
    end
public interface IUIHostLocale2 extends IUIHostLocale

The IUIHostLocale2 type exposes the following members.

Methods

  Name Description
Public method GetDialogFont Returns the dialog box font used for the host UI.
Public method GetUILibraryFileName Returns a UI library (DLL) file.
Public method GetUILocale Returns the UI locale identifier of the host.
Public method LoadDialog Loads a dialog box template.
Public method LoadUILibrary Retrieves an HINSTANCE of the satellite DLL from which to obtain the localized strings.
Public method MungeDialogFont Indicates the dialog box template to use.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace