Compartilhar via


WpfDesktopApplicationUI.RemoveApplication Method

Removes the passed in application from the UI, regardless of which panel it is in.

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

Usage

'Usage
Dim instance As WpfDesktopApplicationUI
Dim app As Object
Dim returnValue As Boolean

returnValue = instance.RemoveApplication(app)

Syntax

'Declaration
Public Overrides Function RemoveApplication ( _
    app As Object _
) As Boolean
public override bool RemoveApplication (
    Object app
)
public:
virtual bool RemoveApplication (
    Object^ app
) override
public boolean RemoveApplication (
    Object app
)
public override function RemoveApplication (
    app : Object
) : boolean

Parameters

  • app
    Specifies the hosted application.

Return Value

Type: Boolean
True if the application was found and removed, 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

WpfDesktopApplicationUI Class
WpfDesktopApplicationUI Members
Microsoft.Uii.Desktop.UI.Controls.Wpf Namespace

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