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