| FieldDefinition Class |
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
The FieldDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| FieldDefinition |
Creates a new empty field definition.
| |
| FieldDefinition(String, FieldValueType) |
Creates a new field definition with the specified name and value type.
| |
| FieldDefinition(String, FieldValueType, String) |
Creates a new picklist field definition with the specified name and value type.
|
| Name | Description | |
|---|---|---|
| Id |
Gets a unique Id for this field definition.
| |
| IsNewObject |
Gets a value indicating whether this instance is new object.
| |
| IsPicklist |
Gets a value indicating whether this instance is picklist.
| |
| Name |
Gets or sets the name of the field.
| |
| PicklistItemNames |
The names of all picklist items for this Field. This collection will be empty if this field is not a
SinglePicklist or MultiplePicklist.
| |
| PicklistItems |
Gets the picklist items representing the possible values for the field, in case this field is of type SinglePicklist
or MultiplePicklist.
| |
| ValueType |
Gets or sets the type of value that can be associated with this field.
|
| Name | Description | |
|---|---|---|
| Clone |
Creates a deep copy of this field definition.
| |
| CreateValue |
Creates a FieldValue instance, with the same name and type as this field declaration.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MaximumNameLength |
The maximum length of a field name.
| |
| MaximumTextFieldValueLength |
The maximum length of a text field value.
|