Gets the first document in the list with the given destination path.
- Namespace
- Statiq
.Common - Containing Type
- IPipelineOutputs
Syntax
IDocument GetDestination(NormalizedPath destinationPath)
Parameters
Name | Type | Description |
---|---|---|
destinationPath | NormalizedPath | The destination path of the document to get. |
Return Value
Type | Description |
---|---|
IDocument | The first matching document or null if no document contains the given destination path. |