Click or drag to resize

MimeTypeExtendTypesTable Method

IT Hit WebDAV Classes Reference
Extends the list of content types or replaces existing value with a new one.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
public static void ExtendTypesTable(
	string extension,
	string mimeType
)

Parameters

extension
Type: SystemString
File extension.
mimeType
Type: SystemString
File mime type.
Examples
MimeType.ExtendTypesTable("exten", "application/exten");
Console.WriteLine(MimeType.GetMimeType("exten"));
Writes: "application/exten"
See Also