Click or drag to resize

ResourceHandlerFromString Method (String, String)

Version 94.4.20

Note: This API is now obsolete.

Gets the resource from the string.

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