The information in this topic may be out of date. The current SDK reference guide has moved here.

Add method

Class: PropertiesCollectionPlatform: AppiumLanguage: C# SDK:

Add a key/value property pair to the collection.

Syntax

obj.Add(name, value);

Parameters

name
Type:string
The property key.
value
Type:string
The property value.

Return value

Type: void