Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetMimeTypeFromExtension method
Collapse the table of content
Expand the table of content

SPUtility.GetMimeTypeFromExtension method

SharePoint 2013

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

public static string GetMimeTypeFromExtension(
	string extension
)

Parameters

extension
Type: System.String

Return value

Type: System.String
Show:
© 2015 Microsoft