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

AddProperty method

Class: BatchInfoPlatform: ImagesLanguage: C# SDK:

Associate a user-defined property with the batch.

A batch property is a user-defined name/value pair that you can associate with a batch. Use the Test Manger to view the properties and their values for a particular batch and you can filter for batches with specific property values. See Using user defined batch properties for more information.


batchInfo.AddProperty(name, value);


The name of the property.
The value to be associated with this property.

Return value

Type: void


  • Call this method after creating the BatchInfo object and before using the Eyes.Batch or Configuration.SetBatch method to associate the batch with the test (before the test is started).
  • Set multiple properties by calling BatchInfo.AddProperty multiple times with the same property name and different values.
  • You should not assign a given value to a property more than once in a given batch run.