| FieldDefinition Constructor (String, FieldValueType) |
Creates a new field definition with the specified name and value type.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApiAssembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntaxpublic FieldDefinition(
string name,
FieldValueType valueType
)
Public Sub New (
name As String,
valueType As FieldValueType
)
public:
FieldDefinition(
String^ name,
FieldValueType valueType
)
new :
name : string *
valueType : FieldValueType -> FieldDefinitionParameters
- name
- Type: SystemString
The name of the field. - valueType
- Type: Sdl.LanguagePlatform.TranslationMemoryFieldValueType
The type of value this field can hold.
RemarksIn order to add the new field to a translation memory or fields template, add it to the corresponding fields collection (
FieldDefinitions
or
FieldDefinitions) and save the translation memory or fields template to persist the change (
Save or
Save)
See Also
Comments