다음을 통해 공유


IUIHostLocale2 Interface

Definition

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

public interface class IUIHostLocale2 : Microsoft::VisualStudio::Shell::Interop::IUIHostLocale
public interface class IUIHostLocale2 : Microsoft::VisualStudio::Shell::Interop::IUIHostLocale
__interface IUIHostLocale2 : Microsoft::VisualStudio::Shell::Interop::IUIHostLocale
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IUIHostLocale2 : Microsoft.VisualStudio.Shell.Interop.IUIHostLocale
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IUIHostLocale2 : Microsoft.VisualStudio.Shell.Interop.IUIHostLocale
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IUIHostLocale2 = interface
    interface IUIHostLocale
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("2C2EA032-02BE-11D1-8C85-00C04FC2AA89")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IUIHostLocale2 = interface
    interface IUIHostLocale
Public Interface IUIHostLocale2
Implements IUIHostLocale
Derived
Attributes
Implements

Remarks

Some members of this interface are safe to access from any thread.

Methods

GetDialogFont(UIDLGLOGFONT[])

Returns the dialog box font used for the host UI.

GetUILibraryFileName(String, String, String)

Returns a UI library (DLL) file.

GetUILocale(UInt32)

Returns the UI locale identifier of the host.

LoadDialog(IntPtr, UInt32, IntPtr)
LoadDialog(UInt32, UInt32, IntPtr)

Loads a dialog box template.

LoadUILibrary(String, String, UInt32, IntPtr)
LoadUILibrary(String, String, UInt32, UInt32)

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

MungeDialogFont(UInt32, Byte[], IntPtr)

Indicates the dialog box template to use.

Applies to