Click or drag to resize
LanguageResourceBundleCollection Class
Represents a collection of language resource bundles within a translation memory (LanguageResourceBundles) or a language resources template (LanguageResourceBundles). A language resource bundle holds custom language resources for a certain language (abbreviation, ordinal followers, variables and segmentation rules).
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionLanguageResourceBundle
    System.Collections.ObjectModelObservableCollectionLanguageResourceBundle
      Sdl.LanguagePlatform.TranslationMemoryApiLanguageResourceBundleCollection

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.3880.0)
Syntax
public class LanguageResourceBundleCollection : ObservableCollection<LanguageResourceBundle>

The LanguageResourceBundleCollection type exposes the following members.

Constructors
  NameDescription
Public methodLanguageResourceBundleCollection
Creates a new, empty language resource bundle collection.
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionLanguageResourceBundle.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionLanguageResourceBundle.)
Public propertyItemCultureInfo
Gets the language resource bundle for the given language, if it exists in this collection.
Public propertyItemString
Gets the language resource bundle for the given language code, if it exists in this collection.
Protected propertyItems (Inherited from CollectionLanguageResourceBundle.)
Public propertyResourceDataAccessor
Gets a reference to the internal resource data accessor used to access the resource storage.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionLanguageResourceBundle.)
Protected methodBlockReentrancy
Disallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Protected methodCheckReentrancy
Checks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Public methodClear (Inherited from CollectionLanguageResourceBundle.)
Protected methodClearItems
Removes all items from the collection.
(Overrides ObservableCollectionTClearItems.)
Public methodContains (Inherited from CollectionLanguageResourceBundle.)
Public methodCopyTo (Inherited from CollectionLanguageResourceBundle.)
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 CollectionLanguageResourceBundle.)
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 CollectionLanguageResourceBundle.)
Public methodInsert (Inherited from CollectionLanguageResourceBundle.)
Protected methodInsertItem
Inserts an item into the collection at the specified index.
(Overrides ObservableCollectionTInsertItem(Int32, T).)
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 ObservableCollectionLanguageResourceBundle.)
Protected methodMoveItem
Moves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Protected methodOnCollectionChanged
Raises the CollectionChanged event with the provided arguments.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Public methodRemove (Inherited from CollectionLanguageResourceBundle.)
Public methodRemoveAt (Inherited from CollectionLanguageResourceBundle.)
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 ObservableCollectionLanguageResourceBundle.)
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 ObservableCollectionLanguageResourceBundle.)
Protected eventPropertyChanged
Occurs when a property value changes.
(Inherited from ObservableCollectionLanguageResourceBundle.)
Top
Remarks
Changes to this collection should be persisted by saving the translation memory or the language resources template to which the collection belongs.
See Also
Community
Edit

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