Partager via


LoadResult Constructor (Object)

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

Initializes a new instance of the LoadResult class and sets the LoadedContent property to the specified object.

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

Syntax

'Declaration
Public Sub New ( _
    loadedContent As Object _
)
public LoadResult(
    Object loadedContent
)

Parameters

Remarks

Typically, you will not use this method directly unless you implement the INavigationContentLoader interface or implement an alternative to the Silverlight navigation system.

The Silverlight navigation system requires the loadedContent parameter value to be a UserControl or Page instance.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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