LoadResult Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents the content loaded by an INavigationContentLoader implementation.
Inheritance Hierarchy
System.Object
System.Windows.Navigation.LoadResult
Namespace: System.Windows.Navigation
Assembly: System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)
Syntax
'Declaration
Public Class LoadResult
public class LoadResult
The LoadResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LoadResult(Object) | Initializes a new instance of the LoadResult class and sets the LoadedContent property to the specified object. | |
LoadResult(Uri) | Initializes a new instance of the LoadResult class and sets the RedirectUri property to the specified object. |
Top
Properties
Name | Description | |
---|---|---|
LoadedContent | Gets the loaded page. | |
RedirectUri | Gets the URI to redirect navigation to. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Typically, you will not use this class directly unless you implement the INavigationContentLoader interface or implement an alternative to the Silverlight navigation system.
This class is the return value type of the INavigationContentLoader.EndLoad method. The Silverlight navigation system uses this class to represent loaded pages (see the LoadedContent property) or redirection URIs (see the RedirectUri property).
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.