IWebViewControl2.AddInitializeScript(String) 方法

定义

ContentLoading 之后但在页面上运行任何其他脚本之前,将脚本注入 IWebViewControl

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)

参数

script
String

Platform::String

winrt::hstring

适用于

另请参阅