ApplicationSession.LoadTargetUi Method
Loads the specfied MCML into a UI host.
Syntax
protected void LoadTargetUi(
object target,
string source,
IDictionary<string, object> sourceData,
IDictionary<string, object> uiProperties,
bool setDefaultFocus
);
Parameters
target
System.Object. The UI host object. Currently, only null is supported, which results in the entire UI (page) to be loaded.
source
System.String. The MCML to load.
sourceData
System.Collections.Generic.IDictionary<System.String, System.Object>. Contains parameters passed in the web request that are used to fetch the page if the source URI is an HTTP or HTTPS URI.
uiProperties
System.Collections.Generic.IDictionary<System.String, System.Object>. Contains parameters passed to the new page.
setDefaultFocus
System.Boolean. When true, sets the default focus on the UI that is loaded.
Remarks
This method provices the base functionality for loading MCML.
Return Value
This method does not return a value.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter.Hosting
Assembly: Microsoft.MediaCenter.dll
Platform: Windows 7
See Also