| ServerBasedTranslationMemoryLanguageDirectionCollection Class |
Saving a translation memory after adding or removing language directions will result in the corresponding physical bilingual translation memories being added to or deleted from the container which hosts the server-based translation memory.
All the language directions in a given translation memory should have a unique source-target language combination. Multiple source language are supported.
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
The ServerBasedTranslationMemoryLanguageDirectionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| Item | Gets or sets the element at the specified index. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) |
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| BlockReentrancy | Disallows reentrant attempts to change this collection. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| CheckReentrancy | Checks for reentrant attempts to change this collection. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| ClearItems |
Removes all items from the collection.
(Overrides ObservableCollectionTClearItems.) | |
| Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| 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 CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLanguageDirection(CultureInfo, CultureInfo) |
Gets the language direction with the specified source and target language.
| |
| GetLanguageDirection(String, String) |
Gets the language direction with the specified source and target language code.
| |
| 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 CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| InsertItem |
Inserts an item into the collection at the specified index.
(Overrides ObservableCollectionTInsertItem(Int32, T).) | |
| 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 ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| MoveItem | Moves the item at the specified index to a new location in the collection. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| OnCollectionChanged | Raises the CollectionChanged event with the provided arguments. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| OnPropertyChanged | Raises the PropertyChanged event with the provided arguments. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionServerBasedTranslationMemoryLanguageDirection.) | |
| RemoveItem |
Removes the item at the specified index of the collection.
(Overrides ObservableCollectionTRemoveItem(Int32).) | |
| SetItem | Replaces the element at the specified index. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| 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 ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) | |
| PropertyChanged | Occurs when a property value changes. (Inherited from ObservableCollectionServerBasedTranslationMemoryLanguageDirection.) |