WaitForType

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

WaitForType

Previous pageReturn to chapter overviewNext page

Waits until the item has a specific type.

Signatures

Variants throwing exceptions on API errors:

void WaitForType(int type, bool waitForEqual)

Variants returning API errors as int parameter:

void WaitForType(Out int returnCode, int type, bool waitForEqual)

Parameters

returnCode

The error code returned when accessing the item.

type

The type constant to wait for. See nxLibGetType for valid types.

waitForEqual

Indicates whether to wait until the item has the indicated type, or whether to wait until the item has a type other than the specified one.

Return Value

none