C# 클래스 TagLib.MusePack.File

상속: TagLib.NonContainer.File
파일 보기 프로젝트 열기: mono/taglib-sharp 1 사용 예제들

공개 메소드들

메소드 설명
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.

If a TagLib.Id3v2.Tag is added to the current instance, it will be placed at the start of the file. On the other hand, TagLib.Id3v1.Tag TagLib.Ape.Tag will be added to the end of the file. All other tag types will be ignored.

보호된 메소드들

메소드 설명
ReadEnd ( long end, ReadStyle propertiesStyle ) : void

Reads format specific information at the end of the file.

ReadProperties ( long start, long end, ReadStyle propertiesStyle ) : Properties

Reads the audio properties from the file represented by the current instance.

메소드 상세

File() 공개 메소드

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. ///
리턴 System

File() 공개 메소드

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. ///
리턴 System

File() 공개 메소드

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. ///
리턴 System

File() 공개 메소드

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. ///
리턴 System

GetTag() 공개 메소드

Gets a tag of a specified type from the current instance, optionally creating a new tag if possible.
If a TagLib.Id3v2.Tag is added to the current instance, it will be placed at the start of the file. On the other hand, TagLib.Id3v1.Tag TagLib.Ape.Tag will be added to the end of the file. All other tag types will be ignored.
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. ///
리턴 TagLib.Tag

ReadEnd() 보호된 메소드

Reads format specific information at the end of the file.
protected ReadEnd ( long end, ReadStyle propertiesStyle ) : void
end long /// A value containing the seek position /// at which the media data ends and the tags begin. ///
propertiesStyle ReadStyle /// A value specifying at what level /// of accuracy to read the media properties, or to ignore the properties. ///
리턴 void

ReadProperties() 보호된 메소드

Reads the audio properties from the file represented by the current instance.
protected ReadProperties ( long start, long end, ReadStyle propertiesStyle ) : Properties
start long /// A value containing the seek position /// at which the tags end and the media data begins. ///
end long /// A value containing the seek position /// at which the media data ends and the tags begin. ///
propertiesStyle ReadStyle /// A value specifying at what level /// of accuracy to read the media properties, or to ignore the properties. ///
리턴 Properties