VCReferences.AddAssemblyReferenceWithStrongName(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用程序集的强名称向所选项目添加该程序集 (.NET) 引用。
public:
System::Object ^ AddAssemblyReferenceWithStrongName(System::String ^ bstrRef, System::String ^ bstrAssemblyName);
public:
Platform::Object ^ AddAssemblyReferenceWithStrongName(Platform::String ^ bstrRef, Platform::String ^ bstrAssemblyName);
winrt::Windows::Foundation::IInspectable AddAssemblyReferenceWithStrongName(std::wstring const & bstrRef, std::wstring const & bstrAssemblyName);
[System.Runtime.InteropServices.DispId(908)]
public object AddAssemblyReferenceWithStrongName (string bstrRef, string bstrAssemblyName);
[<System.Runtime.InteropServices.DispId(908)>]
abstract member AddAssemblyReferenceWithStrongName : string * string -> obj
Public Function AddAssemblyReferenceWithStrongName (bstrRef As String, bstrAssemblyName As String) As Object
参数
- bstrRef
- String
一个表示要添加的程序集路径的字符串。
- bstrAssemblyName
- String
程序集的强名称。
返回
程序集的路径。
- 属性