Partager via


ControlCollection.IndexOf Method (ControlElement)

 

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

Determines the index of a specific item in the IList<T>.

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

Syntax

public int IndexOf(
    ControlElement item
)
Public Function IndexOf (
    item As ControlElement
) As Integer

Parameters

Return Value

Type: System.Int32

Type : Int32
The index of item if found in the list; otherwise, -1.

Implements

IList<T>.IndexOf(T)

See Also

ControlCollection Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright