Partager via


IApplicationUI.AddApplication Method (String, Object, String, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Adds a hosted application or any Windows Forms control to a Desktop panel.

Namespace:   Microsoft.Uii.Desktop.UI.Controls
Assembly:  Microsoft.Uii.Desktop.UI.Controls (in Microsoft.Uii.Desktop.UI.Controls.dll)

Syntax

object AddApplication(
    string panelName,
    object app,
    string initializationXml,
    bool closeButton
)
Function AddApplication (
    panelName As String,
    app As Object,
    initializationXml As String,
    closeButton As Boolean
) As Object

Parameters

  • app
    Type: System.Object

    Specifies the hosted application instance.

  • initializationXml
    Type: System.String

    Specifies the initialization XML that defines how to initialize the window.

  • closeButton
    Type: System.Boolean

    True if close button is present, otherwise false.

Return Value

Type: System.Object

See Also

IApplicationUI Interface
Microsoft.Uii.Desktop.UI.Controls Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright