PropertyExpressionObservableCollection Class
Contains searchable properties of UITestControl.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionObservableCollection
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public NotInheritable Class PropertyExpressionObservableCollection _
Implements INotifyCollectionChanged
public sealed class PropertyExpressionObservableCollection : INotifyCollectionChanged
public ref class PropertyExpressionObservableCollection sealed : INotifyCollectionChanged
[<Sealed>]
type PropertyExpressionObservableCollection =
class
interface INotifyCollectionChanged
end
public final class PropertyExpressionObservableCollection implements INotifyCollectionChanged
The PropertyExpressionObservableCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyExpressionObservableCollection | Default constructor. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the item count in the collection. | |
IsReadOnly | Gets if the collection is readonly | |
Item | Gets or sets the property value for search. |
Top
Methods
Name | Description | |
---|---|---|
Add(array<String[]) | Add multiple property, value pairs to property collection. If the property with same name already exists, then updates its value. | |
Add(PropertyExpression) | Add new PropertyExpression to the collection. If the property with same name already exists, then updates its value. | |
Add(String, String) | Add new property, value pair to property collection. If the property with same name already exists, then updates its value. | |
Add(String, String, PropertyExpressionOperator) | Add new property, value pair and a PropertyExpressionOperator to property collection. If the property with same name already exists, then updates its value. | |
AddRange(array<PropertyExpression[]) | Add a range of PropertyExpressions to the collection. If the property with same name already exists, then updates its value. | |
AddRange(PropertyExpressionObservableCollection) | Add a range of PropertyExpressions from another collection. If the property with same name already exists, then updates its value. | |
Clear | Clears the collection. | |
Clone | Creates a PropertyExpressionCollection which is a clone of the current instance. | |
Contains(String) | Check whether the given property is present in the collection | |
Contains(PropertyExpression) | Checks whether PropertyExpression with same name, value and operator is present in the collection | |
CopyTo | Copy collections to a PropertyExpression array. | |
Equals | Object.Equals override (Overrides Object.Equals(Object).) | |
Find | Returns the associated PropertyExpression in the collection for the given property name | |
GetEnumerator | Gets an enumerator to iterate through the collection | |
GetHashCode | Hashcode of the PropertyExpressionCollection (Overrides Object.GetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Remove(String) | Remove PropertyExpression with the given name from the collection. | |
Remove(PropertyExpression) | Removes the PropertyExpression with the same name, value and operator from the collection | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
CollectionChanged | Event fired when this collection is changed. |
Top
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.