This property provides access to individual Exif records. The enumeration can also be indexed as illustrated by the example below.
Count
Item[Int32]
The two blocks of code below are functionally equivalent, as explained above.
[C#]
Metadata metadata = new Metadata(Server.MapPath("rez/exif.jpg")); foreach (var exifrec in metadata.Exif) Response.Write(exifrec.Name + ":" + exifrec.Value + "<br>"); for (int i = 0; i < metadata.Exif.Count; i++) Response.Write(metadata.Exif[i].Name + ":" + metadata.Exif[i].Value + "<br>");