FileType class

FileType class

Represents a file type base class.

The FileType type exposes the following members:

Constructors

Constructor Description
init Initializes a FileType for serialization.

Methods

Method Description
equals Implements the equality comparison defined by Enumeration.equals.
equals_enumeration
from_extension Gets the FileType for the provided file extension.
from_filename Returns FileType for specified file_name.
from_stream Returns FileType for provided document stream.
get_all
to_string String representation of file type.
compare_to Compares current object to other. (inherited from Enumeration)
compare_to_object (inherited from Enumeration)
equals_object (inherited from Enumeration)
from_display_name (inherited from Enumeration)
from_value (inherited from Enumeration)
get_hash_code Provides the default hash function. (inherited from Enumeration)

Properties

Property Description
description The file type description.
extension The file extension.
family The file family.
file_format The file format.

Fields

Field Description
UNKNOWN Unknown file type

See Also