Gets the media type of the file.
- Namespace
- Statiq
.Common - Containing Type
- IFile
- Property Type
- string
Syntax
string MediaType { get; }
Remarks
A registered IANA media type will be used if available.
Unregistered media type names may be returned if a registered type is unavailable.
If the media type is unknown this may be null or empty.
Value
Type | Description |
---|---|
string |