Click or drag to resize

ResourceHandlerFromString Method (String, String)

Version 101.0.180

Note: This API is now obsolete.

Gets the resource from the string.

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