public static string GetMimeTypeExtension(
string mimeType
)
Public Shared Function GetMimeTypeExtension( _
ByVal mimeType As String _
) As String
public:
static String^ GetMimeTypeExtension(
String^ mimeType
)
mimeType
The MIME type requested.
A string containing the file extension for the specified MIME type (without the ".").
This method will return the default file extension commonly used with file of types mimeType. For example, "image/jpeg" MIME type (JPEG raster image files) commonly have "jpg" extensions, "application/pdf" (Adobe PDF files) commonly have "pdf" extensions and so forth.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document