interface ICoreWebView2ExperimentalPermissionSettingCollectionView
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 ICoreWebView2ExperimentalPermissionSettingCollectionView
: public IUnknown
Read-only collection of PermissionSetting
s (origin, kind, and state).
Summary
Members | Descriptions |
---|---|
get_Count | The number of ICoreWebView2ExperimentalPermissionSettings in the collection. |
GetValueAtIndex | Gets the ICoreWebView2ExperimentalPermissionSetting 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.1619 |
Members
get_Count
The number of ICoreWebView2ExperimentalPermissionSettings in the collection.
public HRESULT get_Count(UINT32 * value)
GetValueAtIndex
Gets the ICoreWebView2ExperimentalPermissionSetting at the specified index.
public HRESULT GetValueAtIndex(UINT32 index, ICoreWebView2ExperimentalPermissionSetting ** permissionSetting)