DesktopApplicationUIBase.AddApplication Method
Adds a hosted application or any Windows Forms control to a 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 DesktopApplicationUIBase
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
Public MustOverride Function AddApplication ( _
panelName As String, _
app As Object, _
initializationXml As String, _
closeButton As Boolean _
) As Object
public abstract Object AddApplication (
string panelName,
Object app,
string initializationXml,
bool closeButton
)
public:
virtual Object^ AddApplication (
String^ panelName,
Object^ app,
String^ initializationXml,
bool closeButton
) abstract
public abstract Object AddApplication (
String panelName,
Object app,
String initializationXml,
boolean closeButton
)
public abstract function AddApplication (
panelName : String,
app : Object,
initializationXml : String,
closeButton : boolean
) : Object
Parameters
- panelName
Specifies the panel name.
- app
Specifies the hosted application.
- initializationXml
Specifies the initialization XML.
- closeButton
True if the close button is present, otherwise false.
Return Value
Returns panel instance
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
DesktopApplicationUIBase Class
DesktopApplicationUIBase Members
Microsoft.Uii.Desktop.UI.Controls Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.