IUIHostLocale2.GetUILibraryFileName 方法

返回 UI 库 (dll) 文件。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
Function GetUILibraryFileName ( _
    lpstrPath As String, _
    lpstrDllName As String, _
    <OutAttribute> ByRef pbstrOut As String _
) As Integer
int GetUILibraryFileName(
    string lpstrPath,
    string lpstrDllName,
    out string pbstrOut
)

参数

  • lpstrDllName
    类型:System.String
    [in] 指定 DLL 的名称。
  • pbstrOut
    类型:System.String%
    [out] 对包含窄字符串的指针。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 uilocale.idl:

HRESULT IUIHostLocale2::GetUILibraryFileName(
   [in] LPCOLESTR lpstrPath,
   [in] LPCOLESTR lpstrDllName,
   [out, retval] BSTR *pbstrOut
);

.NET Framework 安全性

请参见

参考

IUIHostLocale2 接口

Microsoft.VisualStudio.Shell.Interop 命名空间