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
fileNamestringDocument file name.
projectIdProjectIdSpecifies Project to search for the document.
Returns
- Document
Found
Microsoft.CodeAnalysis.Documentobject.