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]

Public Function ItemUniqueIdGet (

nItem as Int32,

ByRef nUniqueId as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes ItemUniqueIdGet (

Int32 nItem,

ref Int32 nUniqueId

);


 

[C++]

public: enumErrorCodes ItemUniqueIdGet (

Int32 nItem,

Int32 __gc *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 (see the LastError property for further error details)

enumErrorCodes.NOERROR (0)

The method call was successful.