Copyright © 2005-2019 MultiMedia Soft

GetMp3Tag2Size method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the size of the ID3V2 tag (if any) for a MP3 song. The full tag binary contents can be obtained through a call to the GetMp3Tag2Data method.

 

Details about the use of Tags and a sample of use of this method can be found on the How to read TAG information in sound files and How to retrieve basic TAG information from the sound loaded into a player tutorials.

 

 

Syntax

 

[Visual Basic]

Public Function GetMp3Tag2Size (

nPlayerIndex as Int16

) as Int32


 

[C#]

public Int32 GetMp3Tag2Size (

Int16 nPlayerIndex

);


 

[C++]

public: Int32 GetMp3Tag2Size (

Int16 nPlayerIndex

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

0

No ID3V2 tag available

> 0

The ID3V2 tag size