ResourceHandlerFromFileName Method |
Version 57.0.0Note: This API is now obsolete.
Gets the resource from the file.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax [ObsoleteAttribute("Use FromFilePath instead - to get the mimeType use the GetMimeType helper method")]
public static ResourceHandler FromFileName(
string filePath,
string fileExtension = null
)
public:
[ObsoleteAttribute(L"Use FromFilePath instead - to get the mimeType use the GetMimeType helper method")]
static ResourceHandler^ FromFileName(
String^ filePath,
String^ fileExtension = nullptr
)
Parameters
- filePath
- Type: SystemString
Location of the file. - fileExtension (Optional)
- Type: SystemString
The file extension.
Return Value
Type:
ResourceHandlerResourceHandler.
See Also