共用方式為


interface ICoreWebView2StringCollection

interface ICoreWebView2StringCollection
  : public IUnknown

A collection of LPCWSTR.

Summary

Members Descriptions
get_Count The number of elements contained in the collection.
GetValueAtIndex Gets the element at the given index.

Applies to

Product Introduced
WebView2 Win32 1.0.961.33
WebView2 Win32 Prerelease 1.0.955

Members

get_Count

The number of elements contained in the collection.

public HRESULT get_Count(UINT32 * value)

GetValueAtIndex

Gets the element at the given index.

public HRESULT GetValueAtIndex(UINT32 index, LPWSTR * value)