PropertyExpressionObservableCollection.Add Method (String, String)
Add new property, value pair to property 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 ( _
propertyName As String, _
propertyValue As String _
)
public void Add(
string propertyName,
string propertyValue
)
public:
void Add(
String^ propertyName,
String^ propertyValue
)
member Add :
propertyName:string *
propertyValue:string -> unit
public function Add(
propertyName : String,
propertyValue : String
)
Parameters
propertyName
Type: StringThe name of the property.
propertyValue
Type: StringValue of the property.
.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.