Copyright © 2008-2019 MultiMedia Soft

TagsEditor.LYRICS3_TextFieldSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a field of the LYRICS3 tag. The current content of a field can be obtained through the TagsEditor.LYRICS3_TextFieldGet method.

The modification only happens in memory and not directly into the original sound file: in order to store modifications inside the file you need to call the TagsEditor.LYRICS3_SaveChanges method.

 

For further details about methods related to tags editing refer to the TagsEditorMan class.

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

 

 

Syntax

 

[Visual Basic]

Public Function LYRICS3_TextFieldSet (

nField as enumTagFields,

strText as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes LYRICS3_TextFieldSet (

enumTagFields nField,

string strText

);


 

[C++]

public: enumErrorCodes LYRICS3_TextFieldSet (

enumTagFields nField,

string strText

);


 

Parameter

Description

 

 

nField

Identifier of the tag field to set.

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_COMMENT

4

Comment

TAG_FIELD_GENRE_CODE

6

Genre code for ID3

TAG_FIELD_GENRE_STRING

7

Genre string

TAG_FIELD_COMPOSER

8

Composer

strText

String of text to enter inside the given field

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.