次の方法で共有


SPUtility.GetMimeTypeFromExtension method

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

Syntax

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

returnValue = SPUtility.GetMimeTypeFromExtension(extension)
public static string GetMimeTypeFromExtension(
    string extension
)

Parameters

Return value

Type: System.String

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace