Copyright © 2011-2019 MultiMedia Soft

TagsEditor.WMA_TextFrameSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets contents of a specific text-based frame of the WMA tag. Current contents can be retrieved through the TagsEditor.WMA_TextFrameGet 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.WMA_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 WMA_TextFrameSet (

strFrameId as string,

strText as string

) as enumErrorCodes


 

[C#]

public enumErrorCodes WMA_TextFrameSet (

string strFrameId,

string strText

);


 

[C++]

public: enumErrorCodes WMA_TextFrameSet (

string strFrameId,

string strText

);


 

Parameter

Description

 

 

strFrameId

String containing the identifier of the specific frame to set.

Typical identifiers are "Author", "Title", "WM/AlbumArtist", "WM/Genre", etc.

A list of identifiers for WMA frames can be found inside the Windows Media Format SDK.

strText

String of text to enter inside the given frame

 

 

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.