interface ICoreWebView2FrameInfo

Note

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

interface ICoreWebView2FrameInfo
  : public IUnknown

Provides a set of properties for a frame in the ICoreWebView2.

Summary

Members Descriptions
get_Name The name attribute of the frame, as in <iframe name="frame-name" ...>.
get_Source The URI of the document in the frame.

Applies to

Product Introduced
WebView2 Win32 1.0.818.41
WebView2 Win32 Prerelease 1.0.824

Members

get_Name

The name attribute of the frame, as in <iframe name="frame-name" ...>.

public HRESULT get_Name(LPWSTR * name)

The returned string is empty when the frame has no name attribute.

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

get_Source

The URI of the document in the frame.

public HRESULT get_Source(LPWSTR * source)

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