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
)
Public Shared Sub ExtendTypesTable (
extension As String,
mimeType As String
)
public:
static void ExtendTypesTable(
String^ extension,
String^ mimeType
)
static member ExtendTypesTable :
extension : string *
mimeType : string -> unit
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