Condividi tramite


NavigationService.Navigate Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Navigates to the content specified by the uniform resource identifier (URI).

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

Syntax

'Declaration
Public Function Navigate ( _
    source As Uri _
) As Boolean
public bool Navigate(
    Uri source
)

Parameters

  • source
    Type: System.Uri
    The URI of the content to navigate to.

Return Value

Type: System.Boolean
true if the navigation started successfully; otherwise, false.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.