C# Класс TagLib.FileTypes

This static class provides a mechanism for registering file classes and mime-types, to be used when constructing a class via File.Create(string).

The default types built into the taglib-sharp.dll assembly are registered automatically when the class is initialized. To register your own custom types, use .

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Register ( Type type ) : void

Registers a File subclass to be used when creating files via File.Create(string).

In order to register mime-types, the class represented by type should use the custom attribute.

Приватные методы

Метод Описание
FileTypes ( ) : System

Constructs and initializes the FileTypes class by registering the default types.

Init ( ) : void

Initializes the class by registering the default types.

Описание методов

Register() публичный статический Метод

Registers a File subclass to be used when creating files via File.Create(string).
In order to register mime-types, the class represented by type should use the custom attribute.
public static Register ( Type type ) : void
type System.Type /// A object for the class to register. ///
Результат void