WebView2.Source Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the URI of the current top level document.
public:
property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
Uri Source();
void Source(Uri value);
public System.Uri Source { get; set; }
var uri = webView2.source;
webView2.source = uri;
Public Property Source As Uri
Property Value
The URI of the current top level document.