Copyright © 2005-2023 MultiMedia Soft

TrackTitleGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

After having performed a request through the CdInfoCreate method, if available obtains the title of a specific track of the CD.

 

For further information about obtaining CD info, refer to the How to get Audio CD info using CDDB servers tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function CdTrackTitleGet (

nPlayerIndex as Int16,

nTrackIndex as Int32

) as String


 

[C#]

public string CdTrackTitleGet (

Int16 nPlayerIndex,

Int32 nTrackIndex

);


 

[C++]

public: string CdTrackTitleGet (

Int16 nPlayerIndex,

Int32 nTrackIndex

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player.

nTrackIndex

Number representing the one-based index of the CD audio track.

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred. Check the LastError property value in order to see the last error.

Valid string

The string containing the title of the CD track