Click or drag to resize
QueryTryParseQueryOperator Method
Tries to get the operator based upon the operator query string

Namespace: Rally.RestApi
Assembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntax
public static bool TryParseQueryOperator(
	string operatorString,
	out QueryOperator queryOperator
)

Parameters

operatorString
Type: SystemString
The string to parse.
queryOperator
Type: Rally.RestApiQueryOperator
The operator that was found.

Return Value

Type: Boolean
If the parsing was successful. If not, the operator is set to Equals.
Examples
string operatorValue = "!="; Query.Operator foundQueryOperator; if (Query.TryParseQueryOperator(operatorValue, out foundQueryOperator)) { // Do work }
See Also