GetNextSiblingListID¶
Description
Returns the identifier (ID) for the next sibling directory of the directory with the passed ID.
Syntax
NextSiblingID (SiblingID : <Integer>, ListType : <String>): <Integer>
Parameters
- SiblingID
The identifier for the item to get the next sibling ID of.
- ListType
Defines the type of list from which the information should be queried. The table of the Chart and List types lists all available types.
Return Value
The ID for the next sibling item of the passed SiblingID.
Example
$SiblingItemID = $SOS.GetNextSiblingID($SiblingID, "ExtensionsList") #PowerShell
SiblingItemID = SOS.GetNextSiblingID SiblingID, "ExtensionsList" 'VBS
The variable “SiblingItemID” is set to the ID of the next sibling item if the item with the ID “SiblingID”.