- Namespace
- Statiq
.Common - Containing Type
- DocumentMetadataTree
<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 |