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#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual string GetMimeFromFileExtension(
	string fileExtension
)
public virtual string GetMimeFromFileExtension(
	string fileExtension
)
Public Overridable Function GetMimeFromFileExtension ( 
	fileExtension As String
) As String
Public Overridable Function GetMimeFromFileExtension ( 
	fileExtension As String
) As String
public:
virtual String^ GetMimeFromFileExtension(
	String^ fileExtension
)
public:
virtual String^ GetMimeFromFileExtension(
	String^ fileExtension
)
abstract GetMimeFromFileExtension : 
        fileExtension : string -> string 
override GetMimeFromFileExtension : 
        fileExtension : string -> string 
abstract GetMimeFromFileExtension : 
        fileExtension : string -> string 
override GetMimeFromFileExtension : 
        fileExtension : string -> string 
Parameters
fileExtension (String)
File extension without '.' char, eg. "html"
Return Value

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