Click or drag to resize
FieldDefinitionCollection Class
Represents a collection of custom fields in a translation memory (see FieldDefinitions).
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionFieldDefinition
    System.Collections.ObjectModelObservableCollectionFieldDefinition
      Sdl.LanguagePlatform.TranslationMemoryApiFieldDefinitionCollection

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class FieldDefinitionCollection : ObservableCollection<FieldDefinition>, 
	IFieldDefinitions

The FieldDefinitionCollection type exposes the following members.

Constructors
  NameDescription
Public methodFieldDefinitionCollection
Creates a new, empty field definition collection.
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionFieldDefinition.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionFieldDefinition.)
Public propertyItemString
Gets the Field with the specified name. The name is considered case-insensitive.
Protected propertyItems (Inherited from CollectionFieldDefinition.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionFieldDefinition.)
Public methodAddRange
Adds a number of fields to the collection.
Protected methodBlockReentrancy
Disallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionFieldDefinition.)
Protected methodCheckReentrancy
Checks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionFieldDefinition.)
Public methodClear (Inherited from CollectionFieldDefinition.)
Protected methodClearItems
Removes all items from the collection.
(Overrides ObservableCollectionTClearItems.)
Public methodContains (Inherited from CollectionFieldDefinition.)
Public methodCopyTo (Inherited from CollectionFieldDefinition.)
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 methodGetEnumerator (Inherited from CollectionFieldDefinition.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionFieldDefinition.)
Public methodInsert (Inherited from CollectionFieldDefinition.)
Protected methodInsertItem
Inserts an item into the collection at the specified index.
(Overrides ObservableCollectionTInsertItem(Int32, T).)
Public methodLookupIField(Guid)
Returns the field with the specified GUID, or null if there is no field with that GUID.
Public methodLookupIField(String)
Returns the field with the specified name, or null if there is no field with that name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMove
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionFieldDefinition.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionFieldDefinition.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event with the provided arguments.
(Inherited from ObservableCollectionFieldDefinition.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionFieldDefinition.)
Public methodRemove (Inherited from CollectionFieldDefinition.)
Public methodRemoveAt (Inherited from CollectionFieldDefinition.)
Protected methodRemoveItem
Removes the item at the specified index of the collection.
(Overrides ObservableCollectionTRemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from ObservableCollectionFieldDefinition.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Inherited from ObservableCollectionFieldDefinition.)
Protected eventPropertyChanged
Occurs when a property value changes.
(Inherited from ObservableCollectionFieldDefinition.)
Top
See Also
Community
Edit

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