Copyright © 2011-2019 MultiMedia Soft

TagsEditor.ID3V2_SaveChanges method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves changes applied to the ID3V2 tag using a specific ID3V2 format and a specific encoding.

 

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 ID3V2_SaveChanges (

nFormat as enumId3v2Formats,

nEncoding as enumId3v2Encodings

) as enumErrorCodes


 

[C#]

public enumErrorCodes ID3V2_SaveChanges (

enumId3v2Formats nFormat,

enumId3v2Encodings nEncoding

);


 

[C++]

public: enumErrorCodes ID3V2_SaveChanges (

enumId3v2Formats nFormat,

enumId3v2Encodings nEncoding

);


 

Parameter

Description

 

 

nFormat

Identifier of the ID3V2 format.

Supported values are the following:

Mnemonic Value

Value

Meaning

ID3V2_FORMAT_CURRENT

0

Use the current format as available when the sound file was firstly analyzed

ID3V2_FORMAT_2_2

1

Use version 2.2

ID3V2_FORMAT_2_3

2

Use version 2.3

ID3V2_FORMAT_2_4

3

Use version 2.4

nEncoding

Strings encoding.

Supported values are the following:

Mnemonic Value

Value

Meaning

ID3V2_ENCODING_ISO_8859_1

0

Use ISO 8859-1

ID3V2_ENCODING_UTF_16_BOM

1

Use UTF-16 with BOM (Byte Order Mark).

A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files.

ID3V2_ENCODING_UTF_16_NO_BOM

2

Use UTF-16 without BOM (Byte Order Mark)

ID3V2_ENCODING_UTF_8

3

Use UTF-8

 

 

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.