FieldValue Class

Relativity Services API
This class represents the value of a field on an Artifact instance.
Inheritance Hierarchy

System.Object
  kCura.Relativity.Client.DTOs.FieldValue

Namespace:  kCura.Relativity.Client.DTOs
Assembly:  kCura.Relativity.Client (in kCura.Relativity.Client.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public class FieldValue

The FieldValue type exposes the following members.

Constructors

  NameDescription
Public methodFieldValue()
Initializes an empty instance of the FieldValue class.
Public methodFieldValue(Guid)
Initializes a new instance of the FieldValue class given the field Guid.
Public methodFieldValue(Int32)
Initializes a new instance of the FieldValue class given the field ArtifactID.
Public methodFieldValue(String)
Initializes a new instance of the FieldValue class with the specified name.
Public methodFieldValue(Guid, Object)
Initializes a new instance of the FieldValue class given the field Guid and value.
Public methodFieldValue(String, Object)
Initializes a new instance of the FieldValue class given the field name and value.
Public methodFieldValue(Guid, Object, Boolean)
Initializes a new instance of the FieldValue class given the field Guid, value, and 'IsUpdated' flag.
Public methodFieldValue(Int32, Object, Boolean)
Initializes a new instance of the FieldValue class given the field ArtifactID, value, and 'IsUpdated' flag.
Public methodFieldValue(String, Object, Boolean)
Initializes a new instance of the FieldValue class given the field name, value, and 'IsUpdated' flag.
Top
Properties

  NameDescription
Public propertyStatic memberAllFields
Returns a List of FieldValue with a single FieldValue set to a directive that will request that all fields be returned.
Public propertyArtifactID
This property gets and sets the artifact ID of the field of which this is a FieldValue.
Public propertyFieldCategory
This property gets and sets the field category of the field, which is a value from the FieldCategory enum.
Public propertyFieldType
This property gets and sets the field type of the field, which is a value from the FieldType enum describing the type of the data contained in the field.
Public propertyGuids
This property gets and sets the list of GUIDs that identify the field of which this is a FieldValue.
Public propertyIsUpdated
This property indicates whether this field value has been updated, and needs to be sent back to the server when used in a request.
Public propertyName
This property gets and sets the name of the field of which this is a FieldValue.
Public propertyStatic memberNoFields
Returns a List of FieldValue with a single FieldValue set to a directive that will request that no fields be returned.
Public propertyStatic memberSelectedFields
Returns a List of Field with a single Field set to a directive that for a query with a SavedSearch or View condition, the fields defined by the SavedSearch or View will be returned.
Public propertySubObjectFields
When used in a request, this property specifies the fields to be returned on an object returned as a value in the field specified in this FieldValue instance.
Public propertyValue
This property contains the actual value of this field.
Public propertyValueAsCurrency
The typed value of the field, if it is a Currency field.
Public propertyValueAsDate
The typed value of the field, if it is a Date field.
Public propertyValueAsDecimal
The typed value of the field, if it is a Decimal field.
Public propertyValueAsFixedLengthText
The typed value of the field, if it is a Fixed Length Text field.
Public propertyValueAsKeyboardShortcut
The typed value of the field, if it is a Keyboard Shortcut field.
Public propertyValueAsLongText
The typed value of the field, if it is a Long Text field.
Public propertyValueAsMultipleChoice
The typed value of the field, if it is a Multiple Choice field.
Public propertyValueAsRelationalFieldIcon
The typed value of the field, if it is a File field.
Public propertyValueAsSingleChoice
The typed value of the field, if it is a Single Choice field.
Public propertyValueAsSingleObject
The typed value of the field, if it is a Single Object field.
Public propertyValueAsUser
The typed value of the field, if it is a User field.
Public propertyValueAsWholeNumber
The typed value of the field, if it is a Whole Number field.
Public propertyValueAsXmlContainer
The typed value of the field, if it is XmlContainer.
Public propertyValueAsYesNo
The typed value of the field, if it is a Yes \ No field.
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 methodGetValueAsMultiLineString
Get the typed value of a multi-line string field.
Public methodGetValueAsMultipleObject<T>
Get the typed value of a multiple object field.
Public methodSetValueAsMultipleObject<T>
Set the typed value of a multiple object field.
Public methodToString
Returns a String that represents the value of this Field.
(Overrides Object.ToString().)
Top
See Also

Reference