WebView.LoadDataWithBaseURL(String, String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the given data into this WebView, using baseUrl as the base URL for the content.
[Android.Runtime.Register("loadDataWithBaseURL", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetLoadDataWithBaseURL_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void LoadDataWithBaseURL (string? baseUrl, string data, string? mimeType, string? encoding, string? historyUrl);
[<Android.Runtime.Register("loadDataWithBaseURL", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetLoadDataWithBaseURL_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member LoadDataWithBaseURL : string * string * string * string * string -> unit
override this.LoadDataWithBaseURL : string * string * string * string * string -> unit
Parameters
- baseUrl
- String
the URL to use as the page's base URL. If null defaults to 'about:blank'.
- data
- String
a String of data in the given encoding
- mimeType
- String
the MIMEType of the data, e.g. 'text/html'. If null, defaults to 'text/html'.
- encoding
- String
the encoding of the data
- historyUrl
- String
the URL to use as the history entry. If null defaults to 'about:blank'. If non-null, this must be a valid URL.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.