Keyoti SearchUnit API Docs
GetMimeFromFileExtension Method (fileExtension)
API DocumentationKeyoti.SearchEngineConfigurationGetMimeFromFileExtension(String)
Keyoti SearchUnit v6
Returns the mime-type for a particular file extension, as per settings in fileTypesSettings
Declaration Syntax
C#Visual Basic
public virtual string GetMimeFromFileExtension(
	string fileExtension
)
Public Overridable Function GetMimeFromFileExtension ( 
	fileExtension As String
) As String
Parameters
fileExtension (String)
File extension without '.' char, eg. "html"
Return Value

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610