DTE2.SatelliteDllPath(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当给定了应用程序的安装目录和包含本地化资源的 DLL 文件名时返回附属 DLL 的计算路径。
public:
System::String ^ SatelliteDllPath(System::String ^ Path, System::String ^ Name);
public:
Platform::String ^ SatelliteDllPath(Platform::String ^ Path, Platform::String ^ Name);
std::wstring SatelliteDllPath(std::wstring const & Path, std::wstring const & Name);
[System.Runtime.InteropServices.DispId(245)]
public string SatelliteDllPath (string Path, string Name);
[<System.Runtime.InteropServices.DispId(245)>]
abstract member SatelliteDllPath : string * string -> string
Public Function SatelliteDllPath (Path As String, Name As String) As String
参数
- Path
- String
必需。 指定安装应用程序的目录的完整路径。
- Name
- String
必需。 附属 DLL 的文件名,例如 "MyAppUI.DLL"。
返回
一个表示到附属 DLL 的计算路径的字符串。
实现
- 属性
示例
Sub SatelliteDLLPathExample()
MsgBox(DTE2.SatelliteDllPath("C:\MyAppProjects", "MyAppUI.dll"))
End Sub