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

override void TagLib::Image::File::RemoveTags ( TagLib.TagTypes  types ) [inline, inherited]

Removes a set of tag types from the current instance.

typesA bitwise combined TagLib.TagTypes value containing tag types to be removed from the file.

In order to remove all tags from a file, pass TagTypes.AllTags as types .

Definition at line 133 of file File.cs.

References TagLib::Tag::TagTypes.

                  List<ImageTag> to_delete = new List<ImageTag> ();

                  foreach (ImageTag tag in ImageTag.AllTags) {
                        if ((tag.TagTypes & types) == tag.TagTypes)
                              to_delete.Add (tag);

                  foreach (ImageTag tag in to_delete)
                        ImageTag.RemoveTag (tag);

Generated by  Doxygen 1.6.0   Back to index