C# Class TagTool.TagDefinitions.VFilesList

Afficher le fichier Open project: TheGuardians/TagTool Class Usage Examples

Méthodes publiques

Свойство Type Description
Data byte[]
Files List

Méthodes publiques

Méthode Description
Extract ( VFileInfo file ) : byte[]

Extracts the specified file.

Find ( string path ) : VFileInfo

Attempts to find a file by its path.

Insert ( string name, string folder, byte fileData ) : void

Adds a new file to the tag.

Remove ( VFileInfo file ) : void

Removes a file from the tag.

Replace ( VFileInfo file, byte newData ) : void

Replaces the specified file.

Method Details

Extract() public méthode

Extracts the specified file.
public Extract ( VFileInfo file ) : byte[]
file VFileInfo The file to extract.
Résultat byte[]

Find() public méthode

Attempts to find a file by its path.
public Find ( string path ) : VFileInfo
path string The path of the file to find.
Résultat VFileInfo

Insert() public méthode

Adds a new file to the tag.
public Insert ( string name, string folder, byte fileData ) : void
name string The name of the file to add.
folder string The folder the file is located in.
fileData byte The file data.
Résultat void

Remove() public méthode

Removes a file from the tag.
public Remove ( VFileInfo file ) : void
file VFileInfo The file to remove.
Résultat void

Replace() public méthode

Replaces the specified file.
public Replace ( VFileInfo file, byte newData ) : void
file VFileInfo The file to replace.
newData byte The data to replace it with.
Résultat void

Property Details

Data public_oe property

Gets or sets the data block containing the data for every file.
public byte[] Data
Résultat byte[]

Files public_oe property

Gets or sets the files in the list.
public List Files
Résultat List