Compartilhar via


IUIHostLocale 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("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")> _
Public Interface IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
public interface IUIHostLocale
[InterfaceTypeAttribute()]
[GuidAttribute(L"2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
public interface class IUIHostLocale
[<InterfaceTypeAttribute()>]
[<GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")>]
type IUIHostLocale =  interface end
public interface IUIHostLocale

The IUIHostLocale type exposes the following members.

Methods

  Name Description
Public method GetDialogFont Returns the dialog box font used for the host UI.
Public method GetUILocale Returns the UI locale identifier of the host.

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