Gets or sets the uniform resource identifier (URI) of the current content, or the URI of new content that is currently being navigated to.
Public Property Source As Uri Get Set
public Uri Source { get; set; }
public: property Uri^ Source { Uri^ get (); void set (Uri^ value); }
member Source : Uri with get, set
If you set this property to a different URI than the one currently being displayed, the navigator (NavigationWindow, Frame) navigates to the specified URI.
Source is set to the content that is loaded from the URI that is navigated to, unless the navigation is canceled.
Source can be set with a fragment-only URI, and can be set to nullNothingnullptra null reference (Nothing in Visual Basic).
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2