NavigationService.CurrentSource 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 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
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för