Edit

Share via


WebView.AddPreLoadedScript(String) Method

Definition

Caution

This item has been depreciated and will be removed in a future version. Use AddInitializeScript(string script) instead.

Adds the script to be loaded before any others on the page.

[System.Obsolete("This item has been depreciated and will be removed in a future version. Use AddInitializeScript(string script) instead.", false)]
public void AddPreLoadedScript (string script);
[<System.Obsolete("This item has been depreciated and will be removed in a future version. Use AddInitializeScript(string script) instead.", false)>]
abstract member AddPreLoadedScript : string -> unit
override this.AddPreLoadedScript : string -> unit
Public Sub AddPreLoadedScript (script As String)

Parameters

script
String

The script.

Implements

Attributes

Applies to