The FileTypeRecognizerTraits type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FileTypeRecognizerTraits |
Creates traits for a file type recognizer.
|
Methods
| Name | Description | |
|---|---|---|
| Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
Properties
| Name | Description | |
|---|---|---|
| ContentsRegex |
Specifies a regular expression used to identify the type of a file by its contents,
or null if none. The matching is performed case-insensitively.
| |
| Description |
Gets the file type description.
| |
| FileNameRegex |
Specifies a regular expression used to identify the type of a file by its name,
or null if none. The matching is performed case-insensitively.
| |
| Id |
Gets the file type id.
| |
| SuperTypeId |
Gets or sets the id of the file type, or null if none.
|
