Редактиране

Споделяне чрез


NavigationService.CurrentSource Property

Definition

Gets the URI of the content that was last navigated to.

public:
 property Uri ^ CurrentSource { Uri ^ get(); };
public Uri CurrentSource { get; }
member this.CurrentSource : Uri
Public ReadOnly Property CurrentSource As Uri

Property Value

Uri

A Uri for the content that was last navigated to, if navigated to by using a URI; otherwise, null.

Remarks

The value of the CurrentSource property is not changed until navigation to a different URI has completed successfully.

CurrentSource can be set with a fragment-only URI.

Applies to