ID3-Sync Scripting API

ID3v2.SetComment Method 

Sets a comment text.

[Visual Basic]
Public Sub SetComment( _
   ByVal descriptor As String, _
   ByVal language As String, _
   ByVal comment As String, _
   ByVal newEncoding As TextEncoding _
)
[C#]
public void SetComment(
   string descriptor,
   string language,
   string comment,
   TextEncoding newEncoding
);

Parameters

descriptor
The descriptor of the comment.
language
The language of the comment.
comment
The comment string.
newEncoding
The encoding that should be used for the comment string.

Exceptions

Exception Type Condition
ID3v2NoFrameException Throws a ID3v2NoFrameException if no frame with this name exists.

See Also

ID3v2 Class | ID3Sync.IO Namespace