Assembly: IO;
Namespace: Prognoz.Platform.Interop.ForeIO;
The IResourceLocales interface contains properties and methods of the collection of resource editor languages.
IResourceLocales
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.
Property name | Brief description | |
The Count property returns the number of languages available in the resource editor. | ||
The CurrentLocale property returns the resource editor language, with which connection to repository was executed. | ||
The DefaultLocale property returns default language of the resource editor. | ||
The Item property returns resource editor language. |
Method name | Brief description | |
The Add method adds a language with the specified key to the resource editor. | ||
The Clear method removes all languages from the resource editor. | ||
The FindById method searches for resource language by the specified identifier. | ||
The FindByKey method searches for resource language by the specified key. | ||
The Remove method removes language with the specified index. | ||
The RemoveByKey method removes language with the specified key. |
See also: