Solution.RemoveAnalyzerReference 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RemoveAnalyzerReference(AnalyzerReference) |
建立新的方案實例,並將指定的專案更新為不再包含指定的分析器參考。 |
RemoveAnalyzerReference(ProjectId, AnalyzerReference) |
建立新的方案實例,並將指定的專案更新為不再包含指定的分析器參考。 |
RemoveAnalyzerReference(AnalyzerReference)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
建立新的方案實例,並將指定的專案更新為不再包含指定的分析器參考。
public Microsoft.CodeAnalysis.Solution RemoveAnalyzerReference (Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.RemoveAnalyzerReference : Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function RemoveAnalyzerReference (analyzerReference As AnalyzerReference) As Solution
參數
- analyzerReference
- AnalyzerReference
傳回
例外狀況
analyzerReference
為 null
。
方案不包含指定的參考。
適用於
RemoveAnalyzerReference(ProjectId, AnalyzerReference)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
建立新的方案實例,並將指定的專案更新為不再包含指定的分析器參考。
public:
Microsoft::CodeAnalysis::Solution ^ RemoveAnalyzerReference(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
public Microsoft.CodeAnalysis.Solution RemoveAnalyzerReference (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.RemoveAnalyzerReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function RemoveAnalyzerReference (projectId As ProjectId, analyzerReference As AnalyzerReference) As Solution
參數
- projectId
- ProjectId
- analyzerReference
- AnalyzerReference
傳回
例外狀況
analyzerReference
為 null
。
專案不包含指定的參考。