共用方式為


SUIHostLocale Interface

Passed to GetService to return a reference to IUIHostLocale.

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

Syntax

'宣告
<GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")> _
<ComVisibleAttribute(False)> _
<GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")> _
Public Interface SUIHostLocale
'用途
Dim instance As SUIHostLocale
[GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
[ComVisibleAttribute(false)]
[GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
public interface SUIHostLocale
[GuidAttribute(L"2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
[ComVisibleAttribute(false)]
[GuidAttribute(L"2C2EA031-02BE-11D1-8C85-00C04FC2AA89")]
public interface class SUIHostLocale
[<GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")>]
[<ComVisibleAttribute(false)>]
[<GuidAttribute("2C2EA031-02BE-11D1-8C85-00C04FC2AA89")>]
type SUIHostLocale =  interface end
public interface SUIHostLocale

Remarks

Used by VSPackages such as Projects or Editors that need access to locale information to properly handle localization (for example, how to handle fonts in dialogs).

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace