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 | |
---|---|---|
ControlCollection(AdapterAppInitString, XmlElement) | Initializes a new instance of the ControlCollection class. |
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the collection. |
|
IsReadOnly | Gets a value that specifies whether the collection is read-only. |
|
Item[Int32] | Gets or sets the control element at the specified index. |
|
Item[String] | Gets the control element with the specified name. |
Methods
Name | Description | |
---|---|---|
Add(ControlElement) | Adds an item to the ICollection<T>. |
|
Clear() | Removes all items from the collection. |
|
Contains(ControlElement) | Determines whether the collection contains a specific value. |
|
Contains(String) | Determines whether the collection contains the specified name. |
|
CopyTo(ControlElement[], Int32) | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | Gets an enumerator that iterates through the collection. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
IndexOf(ControlElement) | Determines the index of a specific item in the IList<T>. |
|
Insert(Int32, ControlElement) | Inserts an item to the IList<T> at the specified index. |
|
MemberwiseClone() | (Inherited from Object.) |
|
Refresh() | Refreshes this instance. |
|
Remove(ControlElement) | Removes the first occurrence of a specific object from the ICollection<T>. |
|
RemoveAt(Int32) | Removes the IList<T> item at the specified index. |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
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