次の方法で共有


IPanel.Add Method (Object, Boolean)

 

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

Adds a hosted application or a Windows Forms user control to the panel.

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

Syntax

object Add(
    object child,
    bool closeButton
)
Function Add (
    child As Object,
    closeButton As Boolean
) As Object

Parameters

  • child
    Type: System.Object

    The control or hosted application to add to the panel.

  • closeButton
    Type: System.Boolean

    true if a close button is provided for closing dynamic hosted applications; false otherwise.

Return Value

Type: System.Object

The tabpage from the TabControl if one is used or the DeckControl.

Remarks

If there are currently no hosted applications on this panel, add to DeckControl. Else, add to TabControl.

See Also

Add Overload
IPanel Interface
Microsoft.Uii.Desktop.UI.Controls Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright