PropertyFilter(string, string, PropertyComparator) Constructor
First Added: GlobalCapture 2.3.0.124
Initializes a new instance of the PropertyFilter class with a specified property name, value, and comparator.
public PropertyFilter(string propertyName, string propertyValue, PropertyComparator propertyComparator)
Parameters
string propertyName
Name of the property to match.
string propertyValue
Value of the property to match.
PropertyComparator propertyValue
PropertyComparator to use for the property value comparison.
Example
The following example demonstrates constructing a PropertyFilter that matches the name "John".
var propertyFilter = new PropertyFilter("Name", "John", PropertyComparator.Equals);