Partager via


ControlCollection.Insert Method (Int32, ControlElement)

 

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

Inserts an item to the IList<T> at the specified index.

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Syntax

public void Insert(
    int index,
    ControlElement item
)
Public Sub Insert (
    index As Integer,
    item As ControlElement
)

Parameters

  • index
    Type: System.Int32

    The zero-based index at which item should be inserted.

Implements

IList<T>.Insert(Int32, T)

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.

See Also

ControlCollection Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright