共用方式為


Solution.GetAnalyzerConfigDocument(DocumentId) Method

Definition

Gets the analyzer config document in this solution with the specified document 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

Parameters

documentId
DocumentId

Returns

Applies to