Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITestControlCollection Class

 

Contains searchable properties of UITestControl.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

System.Object
  System.Collections.CollectionBase
    Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection

[CLSCompliantAttribute(true)]
public class UITestControlCollection : CollectionBase, ICollection<UITestControl>, 
	IEnumerable<UITestControl>, IEnumerable

NameDescription
System_CAPS_pubmethodUITestControlCollection()

Initializes a new instance of the UITestControlCollection class.

NameDescription
System_CAPS_pubpropertyCapacity

(Inherited from CollectionBase.)

System_CAPS_pubpropertyCount

(Inherited from CollectionBase.)

System_CAPS_protpropertyInnerList

(Inherited from CollectionBase.)

System_CAPS_pubpropertyIsReadOnly

Gets the read-only status of the collection.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the UITestControlCollection at a given index.

System_CAPS_protpropertyList

(Inherited from CollectionBase.)

NameDescription
System_CAPS_pubmethodAdd(UITestControl)

Adds a UITestControl to the end of the UITestControlCollection.

System_CAPS_pubmethodClear()

(Inherited from CollectionBase.)

System_CAPS_pubmethodContains(UITestControl)

Determines whether the UITestControlCollection contains a specific UITestControl.

System_CAPS_pubmethodCopyTo(UITestControl[], Int32)

Copies the complete UITestControlCollection to a compatible one-dimensional array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through the UITestControlCollection instance.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNamesOfControls()

Gets the names of all controls in the collection.

System_CAPS_pubmethodGetPropertyValuesOfControls<T>(String)

Gets the property values for given property name for all controls in the collection.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValuesOfControls()

Gets the values of all controls in the collection.

System_CAPS_pubmethodIndexOf(UITestControl)

Searches for the specified Object and returns the zero-based index of the first occurrence of the specified UITestControl in the complete UITestControlCollection.

System_CAPS_pubmethodInsert(Int32, UITestControl)

Inserts a UITestControl into the UITestControlCollection at the specified index.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnClear()

(Inherited from CollectionBase.)

System_CAPS_protmethodOnClearComplete()

(Inherited from CollectionBase.)

System_CAPS_protmethodOnInsert(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnInsertComplete(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnRemove(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnRemoveComplete(Int32, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnSet(Int32, Object, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnSetComplete(Int32, Object, Object)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnValidate(Object)

(Inherited from CollectionBase.)

System_CAPS_pubmethodRemove(UITestControl)

Removes the first occurrence of UITestControl from the UITestControlCollection.

System_CAPS_pubmethodRemoveAll(Predicate<UITestControl>)

Removes the controls matching the predicate.

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: