Project.GetAnalyzerConfigDocument(DocumentId) 方法

定义

获取此项目中具有指定文档 ID 的分析器配置文档。

public Microsoft.CodeAnalysis.AnalyzerConfigDocument? GetAnalyzerConfigDocument (Microsoft.CodeAnalysis.DocumentId documentId);
public Microsoft.CodeAnalysis.AnalyzerConfigDocument GetAnalyzerConfigDocument (Microsoft.CodeAnalysis.DocumentId documentId);
member this.GetAnalyzerConfigDocument : Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.AnalyzerConfigDocument
Public Function GetAnalyzerConfigDocument (documentId As DocumentId) As AnalyzerConfigDocument

参数

documentId
DocumentId

返回

适用于