Share via


IWebViewControl2.AddInitializeScript(String) Method

Definition

Injects a script into the IWebViewControl just after ContentLoading but before any other script is run on the page.

public:
 void AddInitializeScript(Platform::String ^ script);
void AddInitializeScript(winrt::hstring const& script);
public void AddInitializeScript(string script);
function addInitializeScript(script)
Public Sub AddInitializeScript (script As String)

Parameters

script
String

Platform::String

winrt::hstring

Applies to

See also