The ContentType type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try 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 this instance.
(Overrides Object..::..ToString()()()().) |
Extension Methods
| Name | Description | |
|---|---|---|
| IsFontContentType |
Determines whether specified content type is a (obfuscated) font content type.
(Defined by ContentTypeExtensions.) | |
| IsImageContentType |
Determines whether specified content type is an image content type.
(Defined by ContentTypeExtensions.) | |
| IsSupportedImageContentType |
Determines whether specified content type is a supported image content type.
(Defined by ContentTypeExtensions.) |
Fields
| Name | Description | |
|---|---|---|
| FileExtensionArgbBitmap |
Defines the file extension for custom ARGB bitmap images.
| |
| FileExtensionRgbBitmap |
Defines the file extension for custom RGB bitmap images.
| |
| FileExtensionTiff |
Defines the default file extension for TIFF images.
| |
| TypeDocumentStructure |
The XPS document structure content type.
| |
| TypeFixedDocument |
The XPS fixed document content type.
| |
| TypeFixedDocumentSequence |
The XPS fixed document sequence content type.
| |
| TypeFixedPage |
The XPS fixed page content type.
| |
| TypeFont |
Font.
| |
| TypeImageArgb |
The ARGB bitmap format.
| |
| TypeImageJpg |
JPEG image
| |
| TypeImagePng |
PNG image
| |
| TypeImageRgb |
The RGB bitmap format.
| |
| TypeImageTiff |
TIFF image
| |
| TypeImageWindowsMediaPhoto |
Windows Media Photo image
| |
| TypeObfuscatedFont |
Obfuscated font.
| |
| TypeRelationships |
The relationships content type.
| |
| TypeStoryFragments |
The XPS story fragments content type.
|
Properties
| Name | Description | |
|---|---|---|
| Extension |
Gets the file extension.
| |
| Path |
Gets the path to the resource.
| |
| Type |
Gets the content type.
|