共用方式為


interface ICoreWebView2ObjectCollection

interface ICoreWebView2ObjectCollection
  : public ICoreWebView2ObjectCollectionView

Represents a collection of generic objects.

Summary

Members Descriptions
InsertValueAtIndex Inserts the object at the specified index.
RemoveValueAtIndex Removes the object at the specified index.

Used to get, remove and add objects at the specified index.

Applies to

Product Introduced
WebView2 Win32 1.0.2651.64
WebView2 Win32 Prerelease 1.0.2646

Members

InsertValueAtIndex

Inserts the object at the specified index.

public HRESULT InsertValueAtIndex(UINT32 index, IUnknown * value)

RemoveValueAtIndex

Removes the object at the specified index.

public HRESULT RemoveValueAtIndex(UINT32 index)