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
- extension
Type: System.String
Valor retornado
Type: System.String