共用方式為


interface ICoreWebView2StringCollection

Note

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

interface ICoreWebView2StringCollection
  : public IUnknown

A collection of strings.

Summary

Members Descriptions
get_Count The number of strings contained in ICoreWebView2StringCollection.
GetValueAtIndex Gets the value at a given index.

Applies to

Product Introduced
WebView2 Win32 1.0.961.33
WebView2 Win32 Prerelease 1.0.955

Members

get_Count

The number of strings contained in ICoreWebView2StringCollection.

public HRESULT get_Count(UINT * value)

GetValueAtIndex

Gets the value at a given index.

public HRESULT GetValueAtIndex(UINT index, LPWSTR * value)

The caller must free the returned string with CoTaskMemFree. See API Conventions.