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
propertyExpression
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionPropertyExpression to be added.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.