Click or drag to resize

XPathFilterBuilderCreateFilter Method (String, AttributeValuePairCollection, 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,
	AttributeValuePairCollection keyValuePairs,
	ComparisonOperator valueComparisonOperator,
	GroupOperator groupOperator
)

Parameters

objectType
Type: SystemString
The object type to query
keyValuePairs
Type: Lithnet.ResourceManagement.ClientAttributeValuePairCollection
The list to attribute and value pairs to query for
valueComparisonOperator
Type: Lithnet.ResourceManagement.ClientComparisonOperator
The operator used to compare the attribute and value pairs
groupOperator
Type: Lithnet.ResourceManagement.ClientGroupOperator
The operator to use to join the attribute value pair comparisons together

Return Value

Type: String
An XPath query string
See Also