Gets the media type of the file.
- Namespace
- Statiq
.Testing - Containing Type
- TestFile
- Implements
- Property Type
- string
Syntax
public 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 |