Project.AddProjectReference(ProjectReference) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立已更新此專案的新實例,以包含指定的專案參考,以及已經存在的專案參考。
public:
Microsoft::CodeAnalysis::Project ^ AddProjectReference(Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
public Microsoft.CodeAnalysis.Project AddProjectReference(Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.AddProjectReference : Microsoft.CodeAnalysis.ProjectReference -> Microsoft.CodeAnalysis.Project
Public Function AddProjectReference (projectReference As ProjectReference) As Project
參數
- projectReference
- ProjectReference