IVsResourceManager.GetSatelliteAssemblyPath(String, Int32, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索附属程序集的路径
public:
int GetSatelliteAssemblyPath(System::String ^ assemblyPath, int lcid, [Runtime::InteropServices::Out] System::String ^ % pbstrPath);
int GetSatelliteAssemblyPath(std::wstring const & assemblyPath, int lcid, [Runtime::InteropServices::Out] std::wstring const & & pbstrPath);
public int GetSatelliteAssemblyPath (string assemblyPath, int lcid, out string pbstrPath);
abstract member GetSatelliteAssemblyPath : string * int * string -> int
Public Function GetSatelliteAssemblyPath (assemblyPath As String, lcid As Integer, ByRef pbstrPath As String) As Integer
参数
- assemblyPath
- String
中要在其中加载资源的程序集的路径。
- lcid
- Int32
中指定资源有效的区域性的 LCID 值。 如果提供的值为0,则将选择用户在启动应用程序时选择的 LCID。
- pbstrPath
- String
[out,retval]附属程序集的路径。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
HRESULT GetSatelliteAssemblyPath(
[in, string] LPCOLESTR assemblyPath,
[in] int lcid,
[out, retval] BSTR *pbstrPath
);