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

void TagLib::Image::File::CopyFrom ( TagLib.Image.File  file ) [inline, inherited]

Copies metadata from the given file..

fileFile to copy metadata from.

Definition at line 212 of file File.cs.

                  EnsureAvailableTags ();
                  var from_tag = file.ImageTag;
                  var to_tag = ImageTag;
                  foreach (var prop in typeof (TagLib.Image.ImageTag).GetProperties ()) {
                        if (!prop.CanWrite || prop.Name == "TagTypes")

                        var value = prop.GetValue (from_tag, null);
                        prop.SetValue (to_tag, value, null);

Generated by  Doxygen 1.6.0   Back to index