Skip to main content
Skip table of contents

PropertyFilter(string, string, PropertyComparator) Constructor

First Added: GlobalCapture

Initializes a new instance of the PropertyFilter class with a specified property name, value, and comparator.

public PropertyFilter(string propertyName, string propertyValue, PropertyComparator propertyComparator)


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.


The following example demonstrates constructing a PropertyFilter that matches the name "John".

var propertyFilter = new PropertyFilter("Name", "John", PropertyComparator.Equals);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.