Method FindDocument
FindDocument(string, ProjectId)
When implemented by a class, gets Microsoft.CodeAnalysis.Document
matches the given file path.
Document FindDocument(string fileName, ProjectId projectId = null)
Parameters
fileName
stringDocument file name.
projectId
ProjectIdSpecifies Project to search for the document.
Returns
- Document
Found
Microsoft.CodeAnalysis.Document
object.