Share via


IApplicationUI.AddApplication Method

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)

Usage

'Usage
Dim instance As IApplicationUI
Dim panelName As String
Dim app As Object
Dim initializationXml As String
Dim closeButton As Boolean
Dim returnValue As Object

returnValue = instance.AddApplication(panelName, app, initializationXml, closeButton)

Syntax

'Declaration
Function AddApplication ( _
    panelName As String, _
    app As Object, _
    initializationXml As String, _
    closeButton As Boolean _
) As Object
Object AddApplication (
    string panelName,
    Object app,
    string initializationXml,
    bool closeButton
)
Object^ AddApplication (
    String^ panelName, 
    Object^ app, 
    String^ initializationXml, 
    bool closeButton
)
Object AddApplication (
    String panelName, 
    Object app, 
    String initializationXml, 
    boolean closeButton
)
function AddApplication (
    panelName : String, 
    app : Object, 
    initializationXml : String, 
    closeButton : boolean
) : Object

Parameters

  • panelName
    Specifies the panel name.
  • app
    Specifies the hosted application instance.
  • initializationXml
    Specifies the initialization XML that defines how to initialize the window.
  • closeButton
    True if close button is present, otherwise false.

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.

Platforms

See Also

Reference

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

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.