IVsIntellisenseProject.AddAssemblyReference(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向项目添加程序集引用。
public:
int AddAssemblyReference(System::String ^ bstrAbsPath);
public:
int AddAssemblyReference(Platform::String ^ bstrAbsPath);
int AddAssemblyReference(std::wstring const & bstrAbsPath);
public int AddAssemblyReference (string bstrAbsPath);
abstract member AddAssemblyReference : string -> int
Public Function AddAssemblyReference (bstrAbsPath As String) As Integer
参数
- bstrAbsPath
- String
中包含程序集的完整路径的字符串。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。