<PackageReference Include="Relativity.Server.EventHandler.SDK" Version="5000.0.3" />

FieldCollection

public class FieldCollection : ICollection
Creates a collection of fields.
public int Count { get; }

Gets the number of key/value pairs contained in the System.Collections.Generic.Dictionary(Of TKey, TValue).

public Field this[int artifactID] { get; }

Returns the field by its artifact ID.

public Field this[string uniqueName] { get; }

Returns the field by either its display name or GUID (all case insensitive).

public FieldCollection()

Initializes a new instance of the FieldCollection class.

public void Add(Field field)

Adds field ArtifactID, Display Name, and Guids to backing collections.

public void CopyTo(Array array, int index)

Copies the System.Collections.Generic.Dictionary(Of TKey, TValue).ValueCollection elements to an existing one-dimensional System.Array, starting at the specified array index.

Returns an enumerator that iterates through the System.Collections.Generic.Dictionary(Of TKey, TValue).ValueCollection.

public FieldCollection GetFieldsByFieldCategoryID(int fieldCategoryID)

Returns a collection of fields based on a field category ID.

public FieldCollection GetFieldsByFieldTypeID(int fieldTypeID)

Returns a collection of fields based on a field type ID.