IDatabaseTreeItem.GetText Method
NOTE: This member is now obsolete. Use IDatabaseTreeItem.Text property instead.
Parameters
- locale
- string
A locale for which the text will be retrieved. It has the standard form, whether the full one (En-us) or incomplete (En). It is case insensitive. If set to an empty string, a native language (neutral) text will be retrieved.
Return Value
stringA family text (description) in the specified language. null reference (Nothing in Visual Basic) if no text was found for the specified language.
You can get the current QDV locale from IQdvEnvironment.InterfaceLocale property.
If a text in the specified locale is not found, the following fallback mechanism will be applied.
- If a complete locale was not found, an incomplete form will be tested.
- If not found, En-us and then En will be tested.
- If that fails, then native language string will be returned.
For example, for Fr-be, the following search path will be applied:
Fr-be > Fr > En-us > En > native