Partager via


PropertyExpressionObservableCollection.Add Method (PropertyExpression)

Add new PropertyExpression to the collection. If the property with same name already exists, then updates its value.

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

Syntax

'Declaration
Public Sub Add ( _
    propertyExpression As PropertyExpression _
)
public void Add(
    PropertyExpression propertyExpression
)
public:
void Add(
    PropertyExpression^ propertyExpression
)
member Add : 
        propertyExpression:PropertyExpression -> unit
public function Add(
    propertyExpression : PropertyExpression
)

Parameters

.NET Framework Security

See Also

Reference

PropertyExpressionObservableCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace