ContentService.GetPreviousAndNextSiblings Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetPreviousAndNextSiblings(Content, bool, bool, bool)
Get closest (previous and next) siblings for the specified content item.
This method only works for File and Item
public static (Content prev, Content next)GetPreviousAndNextSiblings(Content content, bool folders = false, bool sudo = false, bool trashed = false)
Parameters
- content
- Content
- folders
- bool
- sudo
- bool
- trashed
- bool
Returns
System.ValueTuple