Keyoti Search for ASP.NET API Docs
GetMimeFromFileExtension Method (fileExtension)
API DocumentationKeyoti.SearchEngineConfigurationGetMimeFromFileExtension(String)
Keyoti Search for ASP.NET 2010
Returns the mime-type for a particular file extension, as per settings in fileTypesSettings
Declaration Syntax
C#Visual BasicVisual C++
public virtual string GetMimeFromFileExtension(
	string fileExtension
)
Public Overridable Function GetMimeFromFileExtension ( _
	fileExtension As String _
) As String
public:
virtual String^ GetMimeFromFileExtension(
	String^ fileExtension
)
Parameters
fileExtension (String)
File extension without '.' char, eg. "html"

Assembly: Keyoti2.SearchEngine.Core (Module: Keyoti2.SearchEngine.Core) Version: 2010.4.1.609