![]() | Mime |
Exception | Condition |
---|---|
ArgumentNullException | mimeType is null. -or- extension is null. |
ArgumentException | mimeType is empty. -or- extension is empty. |
Registers a MIME-type to file extension mapping.
If the mapping for the MIME-type and/or file extension already exists, then it is overridden by the new mapping.