Click or drag to resize

XPathFilterBuilder.CreateFilter Method (String, Dictionary<String, Object>, ComparisonOperator, GroupOperator)

Creates an XPath filter for the specified object type and attribute/value pairs. Multiple pairs are joined with an 'and' operator

Namespace:  Lithnet.ResourceManagement.Client
Assembly:  Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntax
public static string CreateFilter(
	string objectType,
	Dictionary<string, Object> keyValuePairs,
	ComparisonOperator valueComparisonOperator,
	GroupOperator groupOperator
)

Parameters

objectType
Type: System.String
The object type to query
keyValuePairs
Type: System.Collections.Generic.Dictionary<String, Object>
The list to attribute and value pairs to query for
valueComparisonOperator
Type: Lithnet.ResourceManagement.Client.ComparisonOperator
The operator used to compare the attribute and value pairs
groupOperator
Type: Lithnet.ResourceManagement.Client.GroupOperator
The operator to use to join the attribute value pair comparisons together

Return Value

Type: String
An XPath query string
See Also