| FieldDefinitionCollection Class |
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
The FieldDefinitionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| FieldDefinitionCollection |
Creates a new, empty field definition collection.
|
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionFieldDefinition.) | |
| ItemString |
Gets the Field with the specified name. The name is considered case-insensitive.
| |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionFieldDefinition.) |
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| AddRange |
Adds a number of fields to the collection.
| |
| BlockReentrancy | Disallows reentrant attempts to change this collection. (Inherited from ObservableCollectionFieldDefinition.) | |
| CheckReentrancy | Checks for reentrant attempts to change this collection. (Inherited from ObservableCollectionFieldDefinition.) | |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| ClearItems |
Removes all items from the collection.
(Overrides ObservableCollectionTClearItems.) | |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionFieldDefinition.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionFieldDefinition.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionFieldDefinition.) | |
| InsertItem |
Inserts an item into the collection at the specified index.
(Overrides ObservableCollectionTInsertItem(Int32, T).) | |
| LookupIField(Guid) |
Returns the field with the specified GUID, or null if there is no field with that
GUID.
| |
| LookupIField(String) |
Returns the field with the specified name, or null if there is no field with that
name.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Move | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionFieldDefinition.) | |
| MoveItem | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionFieldDefinition.) | |
| OnCollectionChanged | Raises the CollectionChanged event with the provided arguments. (Inherited from ObservableCollectionFieldDefinition.) | |
| OnPropertyChanged | Raises the PropertyChanged event with the provided arguments. (Inherited from ObservableCollectionFieldDefinition.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionFieldDefinition.) | |
| RemoveItem |
Removes the item at the specified index of the collection.
(Overrides ObservableCollectionTRemoveItem(Int32).) | |
| SetItem | Replaces the element at the specified index. (Inherited from ObservableCollectionFieldDefinition.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| CollectionChanged | Occurs when an item is added, removed, changed, moved, or the entire list is refreshed. (Inherited from ObservableCollectionFieldDefinition.) | |
| PropertyChanged | Occurs when a property value changes. (Inherited from ObservableCollectionFieldDefinition.) |