| HtmlWebGetContentTypeForExtension Method  | 
            Gets the MIME content type for a given path extension.
            
 
Namespace: WorkflowGen.My.HtmlAgilityPackAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntaxpublic static string GetContentTypeForExtension(
	string extension,
	string def
)
Public Shared Function GetContentTypeForExtension ( 
	extension As String,
	def As String
) As String
Parameters
- extension
 - Type: SystemString
The input path extension. - def
 - Type: SystemString
The default content type to return if any error occurs. 
Return Value
Type: 
StringThe path extension's MIME content type.
See Also