XPathFilterBuilderCreateFilter Method (String, String, ComparisonOperator, Object) |
Creates an XPath filter for the specified object type and attribute value pair
Namespace:
Lithnet.ResourceManagement.Client
Assembly:
Lithnet.ResourceManagement.Client (in Lithnet.ResourceManagement.Client.dll) Version: 1.0.6435.24467
Syntaxpublic static string CreateFilter(
string objectType,
string attributeName,
ComparisonOperator comparisonOperator,
Object attributeValue
)
Public Shared Function CreateFilter (
objectType As String,
attributeName As String,
comparisonOperator As ComparisonOperator,
attributeValue As Object
) As String
public:
static String^ CreateFilter(
String^ objectType,
String^ attributeName,
ComparisonOperator comparisonOperator,
Object^ attributeValue
)
Parameters
- objectType
- Type: SystemString
The object type to query - attributeName
- Type: SystemString
The name of the attribute to query - comparisonOperator
- Type: Lithnet.ResourceManagement.ClientComparisonOperator
The operator used to compare the attribute and value - attributeValue
- Type: SystemObject
The value of the attribute to query
Return Value
Type:
StringAn XPath query string
See Also