Click or drag to resize
FieldValue Class
Represents a field value, which is a combination of a field name, a field value type, and the actual field values. This class is abstract.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryFieldValue
    More...

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public abstract class FieldValue

The FieldValue type exposes the following members.

Constructors
  NameDescription
Public methodFieldValue
Initializes a new instance with default values. Required for serialization.
Public methodFieldValue(String)
Initializes a new instance with the specified field name.
Top
Properties
  NameDescription
Public propertyName
Gets or sets the field name of this instance. If the vield name is not valid, an exception is thrown.
Public propertyValueType
Gets the field value type.
Top
Methods
  NameDescription
Public methodAdd(String)
Adds another string to this instance's value list, if this instance is of any of the multiple valued types.
Public methodAdd(FieldValue)
Adds another field value to the current value. The other value must be of the same type.
Public methodClear
Resets this instance to the default value.
Public methodDuplicate
Creates a new instance that is a deep copy of this instance.
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.)
Public methodGetValueString
Compute a string which represents the field value without the field name in a way which can be reversed through parsing. This should only be used internally by the field expression parser. UI-level presentation should use the field value's .ToString() method to get the field value display string.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merges this instance with another field value, which must be of the same type.
Public methodParse
Initializes this instance from a string (deserialization).
Public methodSubstract
Substracts a field value from this instance's field value. Both field values must be of the same type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Inheritance Hierarchy
Community
Edit

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