Gets the first document in the list with the given relative source path
(since source paths are generally absolute, this tests against the source path relative to it's input path).
Syntax
public IDocument GetRelativeSource(NormalizedPath relativeSourcePath)
Parameters
Name |
Type |
Description |
relativeSourcePath |
NormalizedPath |
The relative source path of the document to get. |
Return Value
Type |
Description |
IDocument |
The first matching document or null if no document contains the given relative source path. |