ChoiceCollection Class

Relativity Event Handlers
A class used to as a container for choice values.
Inheritance Hierarchy

System.Object
  kCura.EventHandler.ChoiceCollection

Namespace:  kCura.EventHandler
Assembly:  kCura.EventHandler (in kCura.EventHandler.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

[SerializableAttribute]
public class ChoiceCollection : ICollection

[SerializableAttribute]
public class ChoiceCollection : ICollection

The ChoiceCollection type exposes the following members.

Constructors

  NameDescription
Public methodCode exampleChoiceCollection
Initializes a new instance of the ChoiceCollection class.
Top
Properties

  NameDescription
Public propertyCount
Gets the number of key/value pairs contained in the System.Collections.Specialized.HybridDictionary.
Public propertyIsSynchronized
Gets a value indicating whether the System.Collections.Specialized.HybridDictionary is synchronized (thread safe).
Public propertyItem[Int32]
Gets the choice object by its artifact ID.
Public propertyItem[String]
Gets the choice object by its name.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the System.Collections.Specialized.HybridDictionary.
Top
Methods

  NameDescription
Public methodAdd
Adds a choice object to a choice collection.
Public methodCopyTo
Copies the System.Collections.Specialized.HybridDictionary entries to a one-dimensional System.Array instance at the specified index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
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
Remarks

Typically used to contain the selected value(s) for a Single- or Multi-choice field.
See Also

Reference