Copyright © 2011-2023 MultiMedia Soft

TracksBoard.TrackRemove method

Previous pageReturn to chapter overviewNext page

Remarks

 

Removes the given track from the session. The remove request fails if the track still contains one or more sound items.

 

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 TrackRemove (

nTrack as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes TrackRemove (

Int32 nTrack

);


 

[C++]

public: enumErrorCodes TrackRemove (

Int32 nTrack

);


 

Parameter

Description

 

 

nTrack

Zero-based index of the track to remove. The current number of tracks can be obtained through the TracksBoard.TracksCountGet method.

 

 

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