Retrieves the mime-type for the specified Uri
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual string GetFileType( Uri uri )
Public Overridable Function GetFileType ( _ uri As Uri _ ) As String
public: virtual String^ GetFileType( Uri^ uri )
Parameters
- uri (Uri)
- The document Uri
Return Value
Mimetypes as per the server's settings. Eg. a html document would return "text/html".