---
description: Read-only collection of `PermissionSetting`s (origin, kind, and state).
title: WebView2 Win32 C++ ICoreWebView2PermissionSettingCollectionView
ms.date: 08/04/2025
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2PermissionSettingCollectionView
topic_type: 
- APIRef
api_name:
- ICoreWebView2PermissionSettingCollectionView
- ICoreWebView2PermissionSettingCollectionView.get_Count
- ICoreWebView2PermissionSettingCollectionView.GetValueAtIndex
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# interface ICoreWebView2PermissionSettingCollectionView

[!INCLUDE [deprecation-note](../includes/deprecation-note.md)]

```
interface ICoreWebView2PermissionSettingCollectionView
  : public IUnknown
```

Read-only collection of `PermissionSetting`s (origin, kind, and state).

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[get_Count](#get_count) | The number of [ICoreWebView2PermissionSetting](icorewebview2permissionsetting.md#icorewebview2permissionsetting)s in the collection.
[GetValueAtIndex](#getvalueatindex) | Gets the [ICoreWebView2PermissionSetting](icorewebview2permissionsetting.md#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 [ICoreWebView2PermissionSetting](icorewebview2permissionsetting.md#icorewebview2permissionsetting)s in the collection.

> public HRESULT [get_Count](#get_count)(UINT32 * value)

#### GetValueAtIndex

Gets the [ICoreWebView2PermissionSetting](icorewebview2permissionsetting.md#icorewebview2permissionsetting) at the specified index.

> public HRESULT [GetValueAtIndex](#getvalueatindex)(UINT32 index, [ICoreWebView2PermissionSetting](icorewebview2permissionsetting.md#icorewebview2permissionsetting) ** permissionSetting)

