- Namespace
- Statiq
.Common - Containing Type
- DocumentPathTree
<TDocument> - Implements
-
- IDocumentTree
<TDocument> .GetAncestorsOf (TDocument, bool)
- IDocumentTree
Syntax
public DocumentList<TDocument> GetAncestorsOf(TDocument document, bool includeSelf)
Parameters
Name | Type | Description |
---|---|---|
document | TDocument | |
includeSelf | bool |
Return Value
Type | Description |
---|---|
DocumentList |