共用方式為


interface ICoreWebView2ObjectCollectionView

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2ObjectCollectionView
  : public IUnknown

Read-only collection of generic objects.

Summary

Members Descriptions
get_Count Gets the number of items in the collection.
GetValueAtIndex Gets the object at the specified index.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1777

Members

get_Count

Gets the number of items in the collection.

public HRESULT get_Count(UINT32 * value)

GetValueAtIndex

Gets the object at the specified index.

public HRESULT GetValueAtIndex(UINT32 index, IUnknown ** value)

Cast the object to the native type to access its specific properties.