Copyright © 2005-2018 MultiMedia Soft

TagsReader.ID3V1_FieldGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains a field of the ID3V1 tag.

 

For further details about methods related to tags reading refer to the TagsReaderMan class.

For details about the reading of tags see the How to read TAG information in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function ID3V1_FieldGet (

nField as enumTagFields

) as String


 

[C#]

public string ID3V1_FieldGet (

enumTagFields nField

);


 

[C++]

public: string ID3V1_FieldGet (

enumTagFields 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