DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.LoadDataParams Class Reference

Parameters that are used in the Browser.LoadData(long, LoadDataParams) method. More...

Public Member Functions

 LoadDataParams (string data, string mimeType, string textEncoding, string baseURL)
 Constructs a new LoadDataParams instance. More...
 
override string ToString ()
 Represent object as string More...
 

Properties

string Data [get]
 Gets a string that represents data to load. More...
 
string MimeType [get]
 Gets the media type of the data. E.g. "text/html", "image/jpeg" etc. More...
 
string TextEncoding [get]
 Gets the text encoding of the data to load. E.g. "UTF-8", "ISO-8859-1" etc. More...
 
string BaseURL [get]
 Gets origin URL of the document that will be used to resolve links with relative path in HTML document. This parameter is used only for HTML data with "text/html" mime type. More...
 

Detailed Description

Parameters that are used in the Browser.LoadData(long, LoadDataParams) method.

Constructor & Destructor Documentation

DotNetBrowser.LoadDataParams.LoadDataParams ( string  data,
string  mimeType,
string  textEncoding,
string  baseURL 
)

Constructs a new LoadDataParams instance.

Parameters
dataa string that represent data to load.
mimeTypemedia type of the data. E.g. "text/html", "image/jpeg" etc.
textEncodingencoding of the data. E.g. "UTF-8".
baseURLindicates the origin URL of the document and it's used to resolve links. This parameter is used only for HTML data with "text/html" mime type.

Member Function Documentation

override string DotNetBrowser.LoadDataParams.ToString ( )

Represent object as string

Returns
a string that represents the object

Property Documentation

string DotNetBrowser.LoadDataParams.BaseURL
get

Gets origin URL of the document that will be used to resolve links with relative path in HTML document. This parameter is used only for HTML data with "text/html" mime type.

the origin URL of the document.

string DotNetBrowser.LoadDataParams.Data
get

Gets a string that represents data to load.

a string that represents data to load.

string DotNetBrowser.LoadDataParams.MimeType
get

Gets the media type of the data. E.g. "text/html", "image/jpeg" etc.

the media type of the data.

string DotNetBrowser.LoadDataParams.TextEncoding
get

Gets the text encoding of the data to load. E.g. "UTF-8", "ISO-8859-1" etc.

the text encoding of the data to load.