Share via


WebView2.Source Property

Definition

Gets or sets the URI of the current top level document.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
Uri Source();

void Source(Uri value);
public System.Uri Source { get; set; }
Public Property Source As Uri

Property Value

The URI of the current top level document.

Applies to