ID3-Sync Scripting API

ID3v2.SetString Method 

Sets a ID3v2 frame to a string value.

[Visual Basic]
Public Sub SetString( _
   ByVal name As String, _
   ByVal value As String, _
   ByVal encoding As TextEncoding _
)
[C#]
public void SetString(
   string name,
   string value,
   TextEncoding encoding
);

Parameters

name
The name of the frame.
value
The string value to be set.
encoding
The encoding that should be used to encode the string value.

Exceptions

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

See Also

ID3v2 Class | ID3Sync.IO Namespace