interface ICoreWebView2ExperimentalProfile8
Note
This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.
Note
This an experimental API that is shipped with our prerelease SDK. See WebView2 release notes.
interface ICoreWebView2ExperimentalProfile8
: public IUnknown
This is the ICoreWebView2 experimental interface for cookie manager.
Summary
Members | Descriptions |
---|---|
get_CookieManager | Get the cookie manager for the profile. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | N/A |
WebView2 Win32 Prerelease | 1.0.1724 |
Members
get_CookieManager
Get the cookie manager for the profile.
public HRESULT get_CookieManager(ICoreWebView2CookieManager ** cookieManager)
All CoreWebView2s associated with this profile share the same cookie values. Changes to cookies in this cookie manager apply to all CoreWebView2s associated with this profile. See ICoreWebView2CookieManager.
auto webView2_13 = m_webView.try_query<ICoreWebView2_13>();
CHECK_FEATURE_RETURN_EMPTY(webView2_13);
wil::com_ptr<ICoreWebView2Profile> webView2Profile;
CHECK_FAILURE(webView2_13->get_Profile(&webView2Profile));
auto webView2ExperimentalProfile8 =
webView2Profile.try_query<ICoreWebView2ExperimentalProfile8>();
CHECK_FEATURE_RETURN_EMPTY(webView2ExperimentalProfile8);
CHECK_FAILURE(webView2ExperimentalProfile8->get_CookieManager(&m_cookieManager));
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示