---
description: A collection of objects.
title: WebView2 Win32 C++ ICoreWebView2ObjectCollectionView
ms.date: 10/14/2024
keywords: IWebView2, IWebView2WebView, webview2, webview, win32 apps, win32, edge, ICoreWebView2, ICoreWebView2Controller, browser control, edge html, ICoreWebView2ObjectCollectionView
topic_type: 
- APIRef
api_name:
- ICoreWebView2ObjectCollectionView
- ICoreWebView2ObjectCollectionView.get_Count
- ICoreWebView2ObjectCollectionView.GetValueAtIndex
api_type:
- COM
api_location:
- embeddedbrowserwebview.dll
---

# interface ICoreWebView2ObjectCollectionView

```
interface ICoreWebView2ObjectCollectionView
  : public IUnknown
```

A collection of objects.

## Summary

 Members                        | Descriptions
--------------------------------|---------------------------------------------
[get_Count](#get_count) | Gets the number of objects contained in the `ContextMenuItemCollection`.
[GetValueAtIndex](#getvalueatindex) | Gets the object at the specified index.

## Applies to

Product                         | Introduced
--------------------------------|---------------------------------------------
WebView2 Win32            |    1.0.1774.30
WebView2 Win32 Prerelease |    1.0.1777

## Members

#### get_Count

Gets the number of objects contained in the `ContextMenuItemCollection`.

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

#### GetValueAtIndex

Gets the object at the specified index.

> public HRESULT [GetValueAtIndex](#getvalueatindex)(UINT32 index, IUnknown ** value)

