interface ICoreWebView2FrameInfo
interface ICoreWebView2FrameInfo
: public IUnknown
Provides a set of properties for a frame in the ICoreWebView2.
Summary
Members | Descriptions |
---|---|
get_Name | The value of iframe's window.name property. |
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 value of iframe's window.name property.
public HRESULT get_Name(LPWSTR * name)
The default value equals to iframe html tag declaring it, as in <iframe name="frame-name" ...>
. The returned string is empty when the frame has no name attribute and no assigned value for window.name.
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.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기