Skip to main content
Skip table of contents

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.


CODE
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".

CODE
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.