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

TagLib::Ogg::File::File ( File.IFileAbstraction  abstraction,
ReadStyle  propertiesStyle 
) [inline]

Constructs and initializes a new instance of File for a specified file abstraction and specified read style.

Parameters:
abstraction A IFileAbstraction object to use when reading from and writing to the file.
propertiesStyle A ReadStyle value specifying at what level of accuracy to read the media properties, or ReadStyle.None to ignore the properties.
Exceptions:
ArgumentNullException abstraction is .

Definition at line 128 of file File.cs.

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

                                                    : base (abstraction)
            {
                  Mode = AccessMode.Read;
                  try {
                        tag = new GroupedComment ();
                        Read (propertiesStyle);
                        TagTypesOnDisk = TagTypes;
                  } finally {
                        Mode = AccessMode.Closed;
                  }
            }


Generated by  Doxygen 1.6.0   Back to index