Keyoti SearchUnit API Docs
GetFileType Method (uri)
API DocumentationKeyoti.SearchEngine.DocumentsReaderGetFileType(Uri)
Keyoti SearchUnit v6
Retrieves the mime-type for the specified Uri
Declaration Syntax
C#C#Visual BasicVisual BasicVisual C++Visual C++F#F#
public virtual string GetFileType(
	Uri uri
)
public virtual string GetFileType(
	Uri uri
)
Public Overridable Function GetFileType ( 
	uri As Uri
) As String
Public Overridable Function GetFileType ( 
	uri As Uri
) As String
public:
virtual String^ GetFileType(
	Uri^ uri
)
public:
virtual String^ GetFileType(
	Uri^ uri
)
abstract GetFileType : 
        uri : Uri -> string 
override GetFileType : 
        uri : Uri -> string 
abstract GetFileType : 
        uri : Uri -> string 
override GetFileType : 
        uri : Uri -> string 
Parameters
uri (Uri)
The document Uri
Return Value
String
Mimetypes as per the server's settings. Eg. a html document would return "text/html".

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