FieldAttribute Class

Relativity Services API
FieldAttribute is used to describe the data for a property.
Inheritance Hierarchy

System.Object
  System.Attribute
    kCura.Relativity.Client.DTOs.Attributes.FieldAttribute

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

public class FieldAttribute : Attribute

The FieldAttribute type exposes the following members.

Constructors

  NameDescription
Public methodFieldAttribute(String, FieldType)
Creates a FieldAttribute with the specified field name and type.
Public methodFieldAttribute(String, FieldType, Int32)
Creates a FieldAttribute with the specified field name, FieldType, and length.
Public methodFieldAttribute(String, FieldType, String, Type)
Creates a FieldAttribute with the specified field name, FieldType, object field artifact type, and object field DTO type.
Top
Properties

  NameDescription
Public propertyFieldName
The name of the field.
Public propertyLength
The length of the field.
Public propertyObjectFieldArtifactType
For fields containing instances of Relativity objects, this is the Artifact Type of those instances.
Public propertyObjectFieldDTOType
For fields containing instances of Relativity objects, this is the DTO Type of those instances.
Public propertyType
The FieldType of the field.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods

  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference