MimeTypeGetForExtension Method |
Returns the MIME type for a file extension. The leading full-stop on the extension is optional.
Namespace: VirtualRadar.Interface.WebServerAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string GetForExtension(
string extension
)
Public Shared Function GetForExtension (
extension As String
) As String
public:
static String^ GetForExtension(
String^ extension
)
static member GetForExtension :
extension : string -> string
Parameters
- extension
- Type: SystemString
Return Value
Type:
StringSee Also