Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.63 KB

icorewebview2permissionsettingcollectionview.md

File metadata and controls

48 lines (31 loc) · 1.63 KB
description title ms.date keywords
Read-only collection of `PermissionSetting`s (origin, kind, and state).
WebView2 Win32 C++ ICoreWebView2PermissionSettingCollectionView
04/10/2023
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2PermissionSettingCollectionView

interface ICoreWebView2PermissionSettingCollectionView

[!INCLUDE deprecation-note]

interface ICoreWebView2PermissionSettingCollectionView
  : public IUnknown

Read-only collection of PermissionSettings (origin, kind, and state).

Summary

Members Descriptions
get_Count The number of ICoreWebView2PermissionSettings in the collection.
GetValueAtIndex Gets the ICoreWebView2PermissionSetting at the specified index.

Used to list the nondefault permission settings on the profile that are persisted across sessions.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1671

Members

get_Count

The number of ICoreWebView2PermissionSettings in the collection.

public HRESULT get_Count(UINT32 * value)

GetValueAtIndex

Gets the ICoreWebView2PermissionSetting at the specified index.

public HRESULT GetValueAtIndex(UINT32 index, ICoreWebView2PermissionSetting ** permissionSetting)