Click or drag to resize

ResourceHandlerFromString Method (String, String)

Version 107.1.120

Note: This API is now obsolete.

Gets the resource from the string.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
[ObsoleteAttribute("Use ResourceHandler.FromString(resource, mimeType: Cef.GetMimeType(fileExtension)); instead, this method will be removed")]
public static IResourceHandler FromString(
	string text,
	string fileExtension
)

Parameters

text
Type: SystemString
The text.
fileExtension
Type: SystemString
The file extension.

Return Value

Type: IResourceHandler
ResourceHandler.
See Also