| Field Class |
Namespace: Sdl.LanguagePlatform.TranslationMemory
The Field type exposes the following members.
| Name | Description | |
|---|---|---|
| Field |
Initializes a new instance with default values.
| |
| Field(Field) |
Initializes a new instance with the values of another instance, creating a deep copy.
| |
| Field(String, FieldValueType) |
Initializes a new instance, with the specified name and type.
|
| Name | Description | |
|---|---|---|
| FieldType |
Gets the type of the field, i.e. whether it is a system or user-defined field.
| |
| IsSystemField |
Gets a flag which indicates that this field is a system field. System fields cannot
be changed or deleted by the user. Setting this flag from user-code has no effect.
| |
| Name |
Gets or sets the field name.
See IsValidName(String) for a detailed description of accepted identifiers. | |
| PicklistItemNames |
The names of all picklist items for this Field. This collection will be empty if this field is not a
SinglePicklist or MultiplePicklist.
| |
| ResourceId |
Gets or sets the resource ID for this object.
(Inherited from PersistentObject.) | |
| ValueType |
Gets or sets the field value type
|
| Name | Description | |
|---|---|---|
| CheckName |
Checks the given name and throws an exception if the name is not valid.
| |
| Clone | ||
| CreateValue |
Creates a FieldValue instance, with the same name and type as this field declaration.
| |
| Duplicate |
Creates a new instance that is a deep copy of this instance.
| |
| Equals |
Determines whether this instance of Field and a specified object, which must also be a Field object,
represent the same field declaration including the picklist according to type.
(Overrides ObjectEquals(Object).) | |
| EqualsDeclaration |
Determines whether this instance of Field and a specified object, which must also be a Field object,
represent the same field declaration, not considering the picklist.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetFieldType |
Determine the field type, given the field name.
| |
| GetHashCode | GetHashCode(object) (Overrides ObjectGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsPseudoFieldName |
Determines whether the name is reserved for a pseudo (non-physical) field.
| |
| IsReservedName |
Determines whether the name is reserved for system purposes.
| |
| IsSystemFieldName |
Determines whether the specified name is reserved for a system (predefined) field.
| |
| IsValidName |
Determines whether a specified string can be used as a field name.
All field names are valid if they don't start or end with whitespace. | |
| LookupSpecialField |
Looks up a special field by its name. Special fields are fields with a predefined
name, which may be "virtual" fields (those computed from data at runtime) or
"physical" fields (which have an actual value in the data storage). Special field
names should not be used for user-defined fields. Note that special fields are a
superset of system fields (i.e. not all special fields are system fields).
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveIllegalChars |
Removes those characters from an input string which are not allowed in field names,
and returns the form that will be accepted as a field name identifier. This method
should only be used when fields are automatically added by some process (e.g. by
importing a TMX file) and that process should be robust and continue despite invalid
field names.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| StructureContextFieldName |
The name for the structure context field name.
| |
| TextContextFieldName |
A pseudo-name for the text context field. Since text context values are directly
stored at the TU, and not represented as field values, this pseudo field name is only
relevant for edit scripts.
|