Query Constructor (String, QueryOperator, String) |
Create a new query built from the specified
attribute, operator and value
Namespace: Rally.RestApiAssembly: Rally.RestApi (in Rally.RestApi.dll) Version: 3.1.1.0 (3.1.1.0)
Syntaxpublic Query(
string attribute,
QueryOperator op,
string value
)
Public Sub New (
attribute As String,
op As QueryOperator,
value As String
)
public:
Query(
String^ attribute,
QueryOperator op,
String^ value
)
new :
attribute : string *
op : QueryOperator *
value : string -> Query
Parameters
- attribute
- Type: SystemString
The attribute to be filtered by - op
- Type: Rally.RestApiQueryOperator
The filter operator - value
- Type: SystemString
The value to be filtered on
ExamplesQuery query = new Query("Name", Query.Operator.Contains, "My Item");
See Also