Share via


ControlCollection Class

 

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

Represents the control collection class.

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

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Common.ControlCollection

Syntax

public class ControlCollection : IList<ControlElement>, ICollection<ControlElement>, 
    IEnumerable<ControlElement>, IEnumerable
Public Class ControlCollection
    Implements IList(Of ControlElement), ICollection(Of ControlElement),
    IEnumerable(Of ControlElement), IEnumerable

Constructors

Name Description
System_CAPS_pubmethod ControlCollection(AdapterAppInitString, XmlElement)

Initializes a new instance of the ControlCollection class.

Properties

Name Description
System_CAPS_pubproperty Count

Gets the number of elements contained in the collection.

System_CAPS_pubproperty IsReadOnly

Gets a value that specifies whether the collection is read-only.

System_CAPS_pubproperty Item[Int32]

Gets or sets the control element at the specified index.

System_CAPS_pubproperty Item[String]

Gets the control element with the specified name.

Methods

Name Description
System_CAPS_pubmethod Add(ControlElement)

Adds an item to the ICollection<T>.

System_CAPS_pubmethod Clear()

Removes all items from the collection.

System_CAPS_pubmethod Contains(ControlElement)

Determines whether the collection contains a specific value.

System_CAPS_pubmethod Contains(String)

Determines whether the collection contains the specified name.

System_CAPS_pubmethod CopyTo(ControlElement[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

Gets an enumerator that iterates through the collection.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod IndexOf(ControlElement)

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

System_CAPS_pubmethod Insert(Int32, ControlElement)

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Refresh()

Refreshes this instance.

System_CAPS_pubmethod Remove(ControlElement)

Removes the first occurrence of a specific object from the ICollection<T>.

System_CAPS_pubmethod RemoveAt(Int32)

Removes the IList<T> item at the specified index.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

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.

See Also

Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright