Sets known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well. This method is a combination of AddProperties and UpdateProperties. If an existing property satisfies the predicate its value is updated. If there is a known property missing in the package that satisfies the predicate it is added to the package.
Updates known metadata properties satisfying the specified predicate. The operation is recursive so it affects all nested packages as well.
Remarks
Lyrics3 v2.00 uses fields to represent information. The data in a field can consist of ASCII characters in the range 01 to 254 according to the standard. As the ASCII character map is only defined from 00 to 128 ISO-8859-1 might be assumed. Numerical fields are 5 or 6 characters long, depending on location, and are padded with zeroes.
This code sample shows how to read the Lyrics tag from an MP3 file.
using(Metadatametadata=newMetadata(Constants.MP3WithLyrics)){varroot=metadata.GetRootPackage<MP3RootPackage>();if(root.Lyrics3V2!=null){Console.WriteLine(root.Lyrics3V2.Lyrics);Console.WriteLine(root.Lyrics3V2.Album);Console.WriteLine(root.Lyrics3V2.Artist);Console.WriteLine(root.Lyrics3V2.Track);// ...// Alternatively, you can loop through a full list of tag fieldsforeach(varfieldinroot.Lyrics3V2.ToList()){Console.WriteLine("{0} = {1}",field.ID,field.Data);}}}