次の方法で共有


IPanel.Add Method (Object, String, Boolean, 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,
    string initializationXml,
    bool useToolbar,
    bool closeButton
)
Function Add (
    child As Object,
    initializationXml As String,
    useToolbar As Boolean,
    closeButton As Boolean
) As Object

Parameters

  • child
    Type: System.Object

    Specifies the control or hosted application that is to be added to the panel.

  • initializationXml
    Type: System.String

    Specifies the XML string for the hosted application that is being added. This is used to determine how an application will appear in the panel.

  • useToolbar
    Type: System.Boolean

    true if a toolbar is used; false if the XML string should be parsed to see if toolbar is used.

  • closeButton
    Type: System.Boolean

    True if a close button is present, 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