Add dynamic content to the container.                
            
            
            
Syntax
            
            
            
            
            
Example
| C# |  Copy Code | 
|---|
// If using MEF DeploymentCatalog, add to the DevForce CompositionHost after download.
public void AddXap(string uri) {
    DeploymentCatalog catalog;
    catalog = new DeploymentCatalog(uri);
    catalog.DownloadAsync();
    catalog.DownloadCompleted += new EventHandler<System.ComponentModel.AsyncCompletedEventArgs>(catalog_DownloadCompleted);
}
private void catalog_DownloadCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e) {
  IdeaBlade.Core.Composition.CompositionHost.Add(sender as DeploymentCatalog);
} | 
 
 
            
            Remarks
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also