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

FileFieldValue

public class FileFieldValue : FieldValue
Creates file field value instances.
public int? FileID { get; }

Returns the ID of the file in the database. Will only have a non-null value if the field had a File associated with it previously.

public FileValue FileValue { get; }

Gets the FileValue associated with the field.

public bool IsNewFile { get; }

Returns a Boolean flag indicating whether a file field value is a new file or not.

public bool NewFileUploaded { get; }

This returns whether a new file was uploaded to the File field. Will only be true during a PreSave EventHandler.

public long Size { get; }

Gets and/or sets a size of a file field value.

public int? GetFileID()

Returns the file ID.

public string GetFullyQualifiedFileName()

Returns the fully qualified file name of a file field value.