共用方式為


Solution.ContainsDocument(DocumentId) 方法

定義

如果方案在其其中一個專案中包含檔,則為 True

public:
 bool ContainsDocument(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public bool ContainsDocument (Microsoft.CodeAnalysis.DocumentId documentId);
public bool ContainsDocument (Microsoft.CodeAnalysis.DocumentId? documentId);
member this.ContainsDocument : Microsoft.CodeAnalysis.DocumentId -> bool
Public Function ContainsDocument (documentId As DocumentId) As Boolean

參數

documentId
DocumentId

傳回

適用於