Compartilhar via


SPUtility.GetMimeTypeFromExtension method

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

Syntax

'Declaração
Public Shared Function GetMimeTypeFromExtension ( _
    extension As String _
) As String
'Uso
Dim extension As String
Dim returnValue As String

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

Parâmetros

Valor retornado

Type: System.String

Ver também

Referência

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace