The FileTypeRecognizerTraits type exposes the following members.

Constructors

  NameDescription
FileTypeRecognizerTraits
Creates traits for a file type recognizer.

Methods

  NameDescription
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

  NameDescription
FormatOverloaded.

Properties

  NameDescription
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.

See Also