MimeTypeGetMimeType Method
IT Hit WebDAV Classes Reference
Returns the mime type corresponding to file extension.
Namespace:
ITHit.WebDAV.Server
Assembly:
ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax public static string GetMimeType(
string extension
)
Public Shared Function GetMimeType (
extension As String
) As String
public:
static String^ GetMimeType(
String^ extension
)
static member GetMimeType :
extension : string -> string
Parameters
- extension
- Type: SystemString
File extension.
Return Value
Type:
StringString representing mime-type or null if mime-type was not found for the specified extension.
See Also