Click or drag to resize

IFrameLoadHtml Method (String)

Navigates the frame to the resource that represents HTML document with the given html content.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.1.1
Syntax
C#
Task<LoadResult> LoadHtml(
	string html
)

Parameters

html
Type: SystemString
The HTML content of the resource to load. Cannot be null, empty or contain only blank characters.

Return Value

Type: TaskLoadResult
A task that represents the asynchronous loading operation. The LoadResult indicates if the loading operation has been completed, stopped or failed. The task throws a if the loading operation hasn't been completed within a default timeout (100 seconds).
Exceptions
ExceptionCondition
ArgumentException thrown when htmlis null, empty or contain only blank characters.
ObjectDisposedExceptionThe IFrame object has already been disposed.
See Also