Copyright © 2008-2019 MultiMedia Soft

TagsEditor.ID3V1_FieldGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a field of the ID3V1 tag. The content of the tag field can be modified through the TagsEditor.ID3V1_FieldSet method.

 

For further details about methods related to tags editing refer to the TagsEditor object.

For details about the editing of tags see the How to edit tag info in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.TagsEditor.ID3V1_FieldGet (

nField as enumTagFields

) as String


 

[C++]

BSTR control.TagsEditor.ID3V1_FieldGet (

short nField

);


 

Parameter

Description

 

 

nField

Identifier of the tag field to get.

Supported values are the following:

Mnemonic Value

Value

Meaning

TAG_FIELD_TITLE

0

Title

TAG_FIELD_ARTIST

1

Artist

TAG_FIELD_ALBUM

2

Album

TAG_FIELD_YEAR

3

Year

TAG_FIELD_COMMENT

4

Comment

TAG_FIELD_TRACK

5

Track number

TAG_FIELD_GENRE_CODE

6

Genre code for ID3

TAG_FIELD_GENRE_STRING

7

Genre string

 

 

Return value

 

Value

Meaning

 

 

Empty string

The information is not available or an error occurred (see the LastError property for further error details)

Valid string

String with the content of the requested field