<PackageReference Include="Relativity.Api" Version="10.0.230.6" />

FieldExtensions

public static class FieldExtensions
Extension methods that provide a typed layer for setting FieldType specific values on IField.
public static void PopulateBooleanValue(this IField field, bool value)

Populates values on Yes/No fields.

public static void PopulateCurrencyValue(this IField field, decimal value)

Populates values on Currency fields.

public static void PopulateDateValue(this IField field, DateTime value)

Populates values on Date fields.

public static void PopulateDecimalValue(this IField field, decimal value)

Populates values on Decimal fields.

public static void PopulateFileValue(this IField field, IFile value)

Populates values on File fields.

public static void PopulateIntegerValue(this IField field, int value)

Populates values on Whole Number fields.

public static void PopulateMultipleChoiceValue(this IField field, int[] value)

Populates values on Multiple Choice fields.

public static void PopulateMultipleObjectsValue(this IField field, int[] value)

Populates values on Multiple Object fields.

public static void PopulateSingleChoiceValue(this IField field, int value)

Populates values on Single Choice fields.

public static void PopulateSingleObjectValue(this IField field, int value)

Populates values on Single Object fields.

public static void PopulateTextField(this IField field, string value)

Populates values on Long Text fields.

public static void PopulateUserValue(this IField field, int value)

Populates values on User fields.

public static void PopulateVarcharValue(this IField field, string value)

Populates values on Fixed-Length Text fields.