NavigationWindow.Navigate Method (Uri, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Navigates asynchronously to source content located at a uniform resource identifier (URI), and pass an object that contains data to be used for processing during navigation.

Namespace:   System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool Navigate(
	Uri source,
	object extraData
)

Parameters

source
Type: System.Uri

A Uri object initialized with the URI for the desired content.

extraData
Type: System.Object

A Object that contains data to be used for processing during navigation.

Return Value

Type: System.Boolean

true if a navigation is not canceled; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: