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
Syntaxpublic static string CreateFilter(
string objectType,
Dictionary<string, Object> keyValuePairs,
ComparisonOperator valueComparisonOperator,
GroupOperator groupOperator
)
Public Shared Function CreateFilter (
objectType As String,
keyValuePairs As Dictionary(Of String, Object),
valueComparisonOperator As ComparisonOperator,
groupOperator As GroupOperator
) As String
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:
StringAn XPath query string
See Also