Copyright © 2008-2023 MultiMedia Soft

TracksBoard.ItemUniqueIdGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identifier of a specific item previously added to the TracksBoard session.

 

Sound items are added to a list whose sorting is implemented by keeping count of the offset respect to the beginning of the TracksBoard session and, in case the offset of two items should be identical, by keeping count of the zero-based index of the track hosting the item.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

control.TracksBoard.ItemUniqueIdGet (

nItem as Long,

ByRef nUniqueId as Long

) as enumErrorCodes


 

[C++]

short control.TracksBoard.ItemUniqueIdGet (

long nItem,

long *nUniqueId

);


 

Parameter

Description

 

 

nItem

Zero-based index of the item. The total number of items added to the session can be obtained through the TracksBoard.ItemsCountGet method.

nUniqueId

Reference that, on return from the method call, will contain the unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful