FileType
FileType class
File type base class
public class FileType : Enumeration
Constructors
Name |
Description |
FileType() |
Serialization constructor |
Properties
Methods
Name |
Description |
static FromExtension(string) |
Gets FileType for provided fileExtension |
static FromFilename(string) |
Returns FileType for specified fileName |
static FromStream(Stream) |
Returns FileType for provided document stream |
CompareTo(object) |
Compares current object to other. |
override Equals(Enumeration) |
Implements Equals |
override Equals(object) |
Determines whether two object instances are equal. |
override GetHashCode() |
Serves as the default hash function. |
override ToString() |
String representation |
static GetAll<T>() |
Returns all enumeration values. |
implicit operator |
Implicit conversion to string |
Fields
Name |
Description |
static readonly Unknown |
Unknown file type |
See Also