Application.LoadMcml Method
Loads Windows Media Center Markup Language (MCML) markup from the specified URI.
Syntax
public static McmlLoadResult LoadMcml(
string
uri
);
Parameters
uri
System.String. The Uniform Resource Identifier (URI) that specifies the MCML.
Return Value
Microsoft.MediaCenter.UI.McmlLoadResult. The results of the load operation.
Remarks
Typically, MCML files are loaded automatically and it isn't necessary to load them manually.
The following are examples of URIs:
- resx://MyAssembly/MyMarkup
- res://MyDll!MyMarkup
- file://C:\MyMarkup.mcml
- https://www.contoso.com/MyMarkup.mcml
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also