AsBool

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

AsBool

Previous pageReturn to chapter overviewNext page

Try to read a boolean value from this tree item.

Signatures

Variants throwing exceptions on API errors:

bool AsBool()

Variants returning API errors as int parameter:

bool AsBool(Out int returnCode)

Parameters

returnCode

The error code returned when accessing the item.

Return Value

The item value, if the item was of the corresponding JSON type. Otherwise the return value is undefined.