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: 11.3.10719
Syntax
public static void ExtendTypesTable(
	string extension,
	string mimeType
)

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