Click or drag to resize

ResourceHandlerFromString Method (String, String)

Version 92.0.260

Note: This API is now obsolete.

Gets the resource from the string.

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