VCReferences.AddProjectReferenceByIdentifierEx(String, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用程序集的唯一标识符向所选项目添加该程序集 (.NET) 引用。
public:
System::Object ^ AddProjectReferenceByIdentifierEx(System::String ^ Identifier, [Runtime::InteropServices::Out] bool % created);
winrt::Windows::Foundation::IInspectable AddProjectReferenceByIdentifierEx(std::wstring const & Identifier, [Runtime::InteropServices::Out] bool & created);
[System.Runtime.InteropServices.DispId(916)]
public object AddProjectReferenceByIdentifierEx (string Identifier, out bool created);
[<System.Runtime.InteropServices.DispId(916)>]
abstract member AddProjectReferenceByIdentifierEx : string * bool -> obj
Public Function AddProjectReferenceByIdentifierEx (Identifier As String, ByRef created As Boolean) As Object
参数
- Identifier
- String
程序集的唯一标识符。
- created
- Boolean
此方法返回时, true 如果创建了该引用,则包含; 否则为 false 。 此参数未经初始化即被传递。
返回
程序集的路径。
- 属性
注解
此方法与 AddProjectReferenceByIdentifier 方法相同,但包含 created 参数以支持互操作性。