property[]

Navigation:  NxLib API > C# Interface / CLI > NxLibItem >

property[]

Previous pageReturn to chapter overviewNext page

Creates an NxLibItem referencing a subnode of the current item.

Note: Please keep in mind that you can construct references to arbitrary item paths without any error. The constructed NxLibItem object will not check if it's path is valid. If an item with the corresponding path does not exist in the tree an error will only be raised as soon as you try to access the item!

Note: Writing to an inexistent item will create a new tree item, as long as the corresponding tree location is not write protected by NxLib.

Signatures

property NxLibItem default[String]

property NxLibItem default[int]

Parameters

subItemName / String

Access a JSON Object's subitem by it's name

subItemIndex / int

Access an element of a JSON Array or a JSON Object subitem by it's index

Return Value

An NxLibItem referring to the subitem.