IResourceLocales

Assembly: IO;

Description

The IResourceLocales interface contains properties and methods of the collection of resource editor languages.

Inheritance Hierarchy

          IResourceLocales

Comments

Originally, resources contain one language that is a default language. It is used to display values in default language for repository. To provide correct work, default languages in resources and repository must match.

After resources are created, they contain only the language set as default for the current default repository. If default language is not set for the repository, resources will contain language corresponding to the platform interface language. The language is a default language for resources.

Properties

  Property name Brief description
Count

The Count property returns the number of languages available in the resource editor.
CurrentLocale

The CurrentLocale property returns the resource editor language, with which connection to repository was executed.
DefaultLocale

The DefaultLocale property returns default language of the resource editor.
Item

The Item property returns resource editor language.

Methods

  Method name Brief description
Add

The Add method adds a language with the specified key to the resource editor.
Clear

The Clear method removes all languages from the resource editor.
FindById

The FindById method searches for resource language by the specified identifier.
FindByKey

The FindByKey method searches for resource language by the specified key.
Remove

The Remove method removes language with the specified index.
RemoveByKey

The RemoveByKey method removes language with the specified key.

See also:

IO Assembly Interfaces