Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

void TagLib::Riff::List::SetValue ( ByteVector  id,
params string[]  values 
) [inline]

Sets the value for a specified item in the current instance to the contents of a string[].

id A ByteVector object containing the ID of the item to set.
values A string[] containing the values to store in the specified item.
ArgumentNullException id is .
ArgumentException id isn't exactly four bytes long.

Definition at line 532 of file List.cs.

                  if (id == null)
                        throw new ArgumentNullException ("id");
                  if (id.Count != 4)
                        throw new ArgumentException (
                              "ID must be 4 bytes long.", "id");
                  if (values == null || values.Length == 0)
                        RemoveValue (id);
                        SetValue (id, values as IEnumerable<string>);

Generated by  Doxygen 1.6.0   Back to index