Choice Class

Relativity Services API
Represents the value for choice fields.
Inheritance Hierarchy

System.Object
  Relativity.Services.Objects.DataContracts.Choice

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

public class Choice

The Choice type exposes the following members.

Constructors

  NameDescription
Public methodChoice
Initializes a new instance of the Choice class
Top
Properties

  NameDescription
Public propertyArtifactID
Gets or sets the Artifact ID of a Choice object.
Public propertyGuids
Gets or sets a list of GUIDs used to identify a Choice object.
Public propertyName
Gets or sets the user-friendly name of a Choice object.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodToRef
Converts a fully hydrated Choice object into a ChoiceRef object.
(Defined by ChoiceExtensions.)
Top
Remarks

A Choice object is returned for single choice fields, while a list of these objects is returned for multiple choice fields.
See Also

Reference