SingleChoiceCondition Class

Relativity Services API
Use a SingleChoiceCondition in a Query to test a SingleChoice field against a one more values. The Value property can be a single Choice ArtifactID value or an array of ArtifactID values.
Inheritance Hierarchy

System.Object
  Relativity.Services.Condition
    Relativity.Services.FieldCondition
      Relativity.Services.SingleChoiceCondition

Namespace:  Relativity.Services
Assembly:  Relativity.Services.DataContracts (in Relativity.Services.DataContracts.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public class SingleChoiceCondition : FieldCondition

The SingleChoiceCondition type exposes the following members.

Constructors

  NameDescription
Public methodSingleChoiceCondition()
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<Guid>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<Int32>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum, List<String>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum,Guid[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum,Int32[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Guid, SingleChoiceConditionEnum,String[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<Guid>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<Int32>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum, List<String>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum,Guid[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum,Int32[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(Int32, SingleChoiceConditionEnum,String[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum, List<Guid>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum, List<Int32>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum, List<String>)
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum,Guid[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum,Int32[])
Initializes a new instance of the SingleChoiceCondition class.
Public methodSingleChoiceCondition(String, SingleChoiceConditionEnum,String[])
Initializes a new instance of the SingleChoiceCondition class.
Top
Properties

  NameDescription
Public propertyArtifactID
The Field ArtifactID to be tested by the Condition.
(Inherited from FieldCondition.)
Public propertyField
The Field name to be tested by the Condition.
(Inherited from FieldCondition.)
Public propertyGuid
The Field Guid to be tested by the Condition.
(Inherited from FieldCondition.)
Public propertyOperator
Gets or sets the comparison operator to be used.
Public propertyValue
The value to test the field against.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodNegate
Creates a condition that is the logical negation of the existing condition.
(Inherited from Condition.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodToQueryString
Translates a Query Condition object to a Query Condition string.
(Defined by ConditionExtensions.)
Top
See Also

Reference