Getting started
Exporting
- Export quick start
- Examples
- Help compilers
- What are LDEC files
- Customising the export
- Creating your own LDEC files
API
GetParents()
Retrieves a list of the parent entries for this ContentEntry
Namespace: TheBoxSoftware.API.LiveDocumenterAssembly: TheBoxSoftware.API.LiveDocumenter in (TheBoxSoftware.API.LiveDocumenter.dll)
Syntax
C#
public List<ContentEntry> GetParents()
Returns
List<>
A sequential list of parents or an empty list if the entry has no parents.
Remarks
Calling this method will return a sequential list of parents for this ContentEntry. Parents are listed from top to bottom in order of distance from this element.
So for example, given an element defined as below:
namespace TestNamespace { public class ParentClass { public class ChildClass { public class ClassForOurContentEntry { } } } }
The GetParents method would return ContentEntrys in the following order for a ContentEntry that points to the class ClassForOutContentEntry
.
1. TestNamespace 2. ParentClass 3. ChildClass