SPUtility.GetMimeTypeFromExtension method

SharePoint 2013

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public Shared Function GetMimeTypeFromExtension ( _
	extension As String _
) As String
'Usage
Dim extension As String
Dim returnValue As String

returnValue = SPUtility.GetMimeTypeFromExtension(extension)

Parameters

extension
Type: System.String

Return value

Type: System.String
Show: