Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.16 KB

icorewebview2permissionsettingcollectionview.md

File metadata and controls

56 lines (40 loc) · 2.16 KB
description title ms.date keywords topic_type api_name api_type api_location
Read-only collection of `PermissionSetting`s (origin, kind, and state).
WebView2 Win32 C++ ICoreWebView2PermissionSettingCollectionView
05/28/2024
IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2PermissionSettingCollectionView
APIRef
ICoreWebView2PermissionSettingCollectionView
ICoreWebView2PermissionSettingCollectionView.get_Count
ICoreWebView2PermissionSettingCollectionView.GetValueAtIndex
COM
embeddedbrowserwebview.dll

interface ICoreWebView2PermissionSettingCollectionView

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 1.0.1661.34
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)