共用方式為


Solution.RemoveAnalyzerReference 方法

定義

多載

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

傳回

例外狀況

analyzerReferencenull

方案不包含指定的參考。

適用於

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

傳回

例外狀況

analyzerReferencenull

專案不包含指定的參考。

適用於