Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetTagString method 
 
Remarks 
 
Retrieves a tag string from the loaded sound. The availability of Tag strings and their total number can be checked using the IsTagAvailable method. 
 
Due to their format, this method cannot be used with ID3V1 and ID3V2 Tags. 
 
The availability of this information requires a prior call to the ReadSoundInfo method. 
 
Details about the use of Tags and a sample of use of this method can be found on the How to retrieve Tag information section. 
 
 
Syntax 
 
[Visual Basic] 
control.GetTagString
nPlayer as Integer
nTagType as enumTagTypes
nStringIndex as Integer 
) as String
 
[C++] 
LPCTSTR control.GetTagString
short nPlayer, 
short nTagType, 
short nStringIndex 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the involved player
nTagType
The type of Tag whose string must be retrieved. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
TAGTYPE_ICY
2
ICY Shoutcast tag
TAGTYPE_METADATA
3
Shoutcast metadata
TAGTYPE_OGG
4
OGG Vorbis tag
nStringIndex
The zero-based index of the string to obtain: the total number of available strings can be retrieved using the IsTagAvailable method.
 
 
Return value 
 
Value
Meaning
 
 
Empty string
An error occurred (see the LastError property for further error details)
Valid string
The requested string
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents