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

override void TagLib::Jpeg::File::Save (  )  [inline, virtual]

Saves the changes made in the current instance to the file it represents.

Implements TagLib::File.

Definition at line 212 of file File.cs.

References TagLib::File::Mode, TagLib::File::PossiblyCorrupt, TagLib::File::TagTypesOnDisk, and TagLib::File::Writeable.

            {
                  if (!Writeable || PossiblyCorrupt)
                        throw new InvalidOperationException ("File not writeable. Corrupt metadata?");

                  Mode = AccessMode.Write;
                  try {
                        WriteMetadata ();

                        TagTypesOnDisk = TagTypes;
                  } finally {
                        Mode = AccessMode.Closed;
                  }
            }


Generated by  Doxygen 1.6.0   Back to index