| FieldDefinitionsAdd Method (String, FieldValueType) |
Creates a new field declaration with the specified name and type and adds it to the list.
Namespace: Sdl.LanguagePlatform.TranslationMemoryAssembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntaxpublic Field Add(
string fieldName,
FieldValueType fieldType
)
Public Function Add (
fieldName As String,
fieldType As FieldValueType
) As Field
public:
Field^ Add(
String^ fieldName,
FieldValueType fieldType
)
member Add :
fieldName : string *
fieldType : FieldValueType -> Field
Parameters
- fieldName
- Type: SystemString
The field name. - fieldType
- Type: Sdl.LanguagePlatform.TranslationMemoryFieldValueType
The field type.
Return Value
Type:
FieldThe newly created field declaration or an error if the field already exists.
See Also
Comments