Click or drag to resize
FieldDefinition Class
Represents a custom field that can be associated with a translation memory or a fields template and for which values (FieldValue) can be associated with translation units in a translation memory (see FieldValues). These field values can subsequently be used in filter expressions (see FilterExpression) when searching or updating translation units.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiFieldDefinition

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class FieldDefinition : IField, 
	INotifyPropertyChanged

The FieldDefinition type exposes the following members.

Constructors
  NameDescription
Public methodFieldDefinition
Creates a new empty field definition.
Public methodFieldDefinition(String, FieldValueType)
Creates a new field definition with the specified name and value type.
Public methodFieldDefinition(String, FieldValueType, String)
Creates a new picklist field definition with the specified name and value type.
Top
Properties
  NameDescription
Public propertyId
Gets a unique Id for this field definition.
Public propertyIsNewObject
Gets a value indicating whether this instance is new object.
Public propertyIsPicklist
Gets a value indicating whether this instance is picklist.
Public propertyName
Gets or sets the name of the field.
Public propertyPicklistItemNames
Public propertyPicklistItems
Gets the picklist items representing the possible values for the field, in case this field is of type SinglePicklist or MultiplePicklist.
Public propertyValueType
Gets or sets the type of value that can be associated with this field.
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this field definition.
Public methodCreateValue
Creates a FieldValue instance, with the same name and type as this field declaration.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberMaximumNameLength
The maximum length of a field name.
Public fieldStatic memberMaximumTextFieldValueLength
The maximum length of a text field value.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments