Click or drag to resize

ResourceHandlerFromString Method (String, String)

Version 118.6.80

Note: This API is now obsolete.

Gets the resource from the string.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.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