C# Class TagLib.Dsf.File

Inheritance: TagLib.File
Afficher le fichier Open project: MediaPortal/MPTagThat Class Usage Examples

Méthodes publiques

Свойство Type Description
FileIdentifier ReadOnlyByteVector
FormatIdentifier ReadOnlyByteVector
ID3Identifier ReadOnlyByteVector

Méthodes publiques

Méthode Description
File ( File abstraction ) : System

Constructs and initializes a new instance of for a specified file abstraction with an average read style.

File ( File abstraction, ReadStyle propertiesStyle ) : System

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

File ( string path ) : System

Constructs and initializes a new instance of for a specified path in the local file system with an average read style.

File ( string path, ReadStyle propertiesStyle ) : System

Constructs and initializes a new instance of for a specified path in the local file system and specified read style.

GetTag ( TagTypes type, bool create ) : TagLib.Tag

Gets a tag of a specified type from the current instance, optionally creating a new tag if possible.

RemoveTags ( TagTypes types ) : void

Removes a set of tag types from the current instance.

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

Save ( ) : void

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

Private Methods

Méthode Description
Read ( bool read_tags, ReadStyle style, uint &dsf_size, long &tag_start, long &tag_end ) : void

Reads the contents of the current instance determining the size of the dsf data, the area the tagging is in, and optionally reading in the tags and media properties.

Method Details

File() public méthode

Constructs and initializes a new instance of for a specified file abstraction with an average read style.
/// is . ///
public File ( File abstraction ) : System
abstraction File /// A object to use when /// reading from and writing to the file. ///
Résultat System

File() public méthode

Constructs and initializes a new instance of for a specified file abstraction and specified read style.
/// is . ///
public File ( File abstraction, ReadStyle propertiesStyle ) : System
abstraction File /// A object to use when /// reading from and writing to the file. ///
propertiesStyle ReadStyle /// A value specifying at what level /// of accuracy to read the media properties, or to ignore the properties. ///
Résultat System

File() public méthode

Constructs and initializes a new instance of for a specified path in the local file system with an average read style.
/// is . ///
public File ( string path ) : System
path string /// A object containing the path of the /// file to use in the new instance. ///
Résultat System

File() public méthode

Constructs and initializes a new instance of for a specified path in the local file system and specified read style.
/// is . ///
public File ( string path, ReadStyle propertiesStyle ) : System
path string /// A object containing the path of the /// file to use in the new instance. ///
propertiesStyle ReadStyle /// A value specifying at what level /// of accuracy to read the media properties, or to ignore the properties. ///
Résultat System

GetTag() public méthode

Gets a tag of a specified type from the current instance, optionally creating a new tag if possible.
public GetTag ( TagTypes type, bool create ) : TagLib.Tag
type TagTypes /// A value indicating the /// type of tag to read. ///
create bool /// A value specifying whether or not to /// try and create the tag if one is not found. ///
Résultat TagLib.Tag

RemoveTags() public méthode

Removes a set of tag types from the current instance.
In order to remove all tags from a file, pass as types.
public RemoveTags ( TagTypes types ) : void
types TagTypes /// A bitwise combined value /// containing tag types to be removed from the file. ///
Résultat void

Save() public méthode

Saves the changes made in the current instance to the file it represents.
public Save ( ) : void
Résultat void

Property Details

FileIdentifier public_oe static_oe property

The identifier used to recognize a DSF file.
public static ReadOnlyByteVector FileIdentifier
Résultat ReadOnlyByteVector

FormatIdentifier public_oe static_oe property

The identifier used to recognize a Format chunk.
public static ReadOnlyByteVector FormatIdentifier
Résultat ReadOnlyByteVector

ID3Identifier public_oe static_oe property

The identifier used to recognize a DSF ID3 chunk.
public static ReadOnlyByteVector ID3Identifier
Résultat ReadOnlyByteVector