Sdílet prostřednictvím


CoreWebView2.Source Property

Definition

Gets the URI of the current top level document.

public string Source { get; }
member this.Source : string
Public ReadOnly Property Source As String

Property Value

Remarks

This value potentially changes as a part of the SourceChanged event raised for some cases such as navigating to a different site or fragment navigations. It remains the same for other types of navigations such as page refreshes or history.pushState with the same URL as the current page.

Applies to

See also