IWebViewControl2 インターフェイス

定義

アプリで HTML コンテンツをホストするコントロールを提供します。 このインターフェイスには IWebViewControl が必要です。

public interface class IWebViewControl2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.Guid(1295779577, 51423, 16844, 139, 213, 42, 148, 123, 32, 69, 3)]
struct IWebViewControl2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.Guid(1295779577, 51423, 16844, 139, 213, 42, 148, 123, 32, 69, 3)]
public interface IWebViewControl2
Public Interface IWebViewControl2
派生
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)

注釈

WebViewControlクラスを使用すると、Win32 アプリは、UWP WebView と同じ基になるインフラストラクチャを使用して Web コンテンツを表示できます。

メソッド

AddInitializeScript(String)

ContentLoading の直後、ページ上で他のスクリプトが実行される前に、スクリプトを IWebViewControl に挿入します。

適用対象