WebFileType class

WebFileType class

Defines web document file types, including WebFileType.xml, WebFileType.json, WebFileType.html, WebFileType.htm, WebFileType.mht, WebFileType.mhtml, and WebFileType.chm.

The WebFileType type exposes the following members:

Constructors

Constructor Description
init Initializes a WebFileType for serialization.

Methods

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

Properties

Property Description
description The file type description. (inherited from FileType)
extension The file extension. (inherited from FileType)
family The file family. (inherited from FileType)
file_format The file format. (inherited from FileType)

Fields

Field Description
XML XML stands for Extensible Markup Language that is similar to HTML but different in using tags for defining objects. Learn more about this file format here.
JSON JSON (JavaScript Object Notation) is an open standard file format for sharing data that uses human-readable text to store and transmit data. Learn more about this file format here.
HTML HTML (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here.
HTM HTM (Hyper Text Markup Language) is the extension for web pages created for display in browsers. Learn more about this file format here.
MHT Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format here.
MHTML Files with MHTML extension represent a web page archive format that can be created by a number of different applications. The format is known as archive format because it saves the web HTML code and associated resources in a single file. Learn more about this file format here.
CHM The CHM file format represents Microsoft HTML help file that consists of a collection of HTML pages. It provides an index for quick accessing the topics and navigation to different parts of the help document. Learn more about this file format here.
UNKNOWN Unknown file type (inherited from FileType)

See Also