Click or drag to resize
FieldValues Class
Encapsulates a collection of field values.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryFieldValues

Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory (in Sdl.LanguagePlatform.TranslationMemory.dll) Version: 1.6.0.0 (1.7.3662.0)
Syntax
public class FieldValues : IEnumerable<FieldValue>, 
	IEnumerable

The FieldValues type exposes the following members.

Constructors
  NameDescription
Public methodFieldValues
Initializes a new instance with default values.
Public methodFieldValues(FieldValues)
Initializes a new instance of the FieldValues class from another instance.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of field values contained in this instance.
Public propertyItemInt32
Gets the field value at the specified index position.
Public propertyItemString
Gets the field value with the specified name.
Public propertyValues
Gets or sets the list of field values.
Top
Methods
  NameDescription
Public methodAdd
Adds a new field value to this instance.
Public methodAssign
Replaces the current field values with those of another instance.
Public methodClear
Removes all the elements from this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExists
Determines whether a field value with the specified name exists in the current instance.
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 methodGetEnumerator
Returns an enumerator that iterates through the members of the underlying collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert
Inserts a new field value at the specified index
Public methodLookup(String)
Returns a field value with the specified name.
Public methodLookup(String, FieldValueType)
Returns a field value with the specified name and performs a type check on the result.

Throws an error if the types do not match.

Public methodLookupOrCreate
Searches for a specified field in the current instance. If the field value exists, it will be returned, otherwise a new field value will be created, added to this instance and returned.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merge this instance's values with the one passed in the parameter. Single field values will be overwritten. Multiple field values will be merged.
Public methodRemove(String)
Removes the field value with the specified name.
Public methodRemove(FieldValue)
Removes the specified field value from this instance.
Public methodRemoveAt
Removes the field value at the specified position.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

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