CADability dotNET

The StringTable type exposes the following members.

Constructors

  NameDescription
Public methodStringTable
Initializes a new instance of the StringTable class

Methods

  NameDescription
Public methodStatic memberAddString
Adds the strings of the given xml document to the string table.
Public methodStatic memberAddStrings(Stream)
Public methodStatic memberAddStrings(XmlDocument)
Public methodStatic memberGetFormattedString
Returns a formatted string. The string with the ID "Name" from the string resource is formatted by substituting the {0}, {1} ... substring with the string values of the args objects. If there is a formatting error, the unformatted string will be returned.
Public methodStatic memberGetLanguageNames
Public methodStatic memberGetSplittedStrings
Returns an array of strings from the string table. The array is created from a single entry in the string table. The first character of this entry is the separator and the remaining string is splitted by this separator.
Public methodStatic memberGetString(String)
--- Depricated --- use GetString(string, Category) instead. Returns the string with the given ID in the ActiveLanguage. If the there is no appropriate entry in the ActiveLanguage then the default language is searched. If there is still no entry "missing string: "+Name is returned.
Public methodStatic memberGetString(String, StringTable..::..Category)
Returns the string with the given ID and the given StringTable..::..Categoryin the ActiveLanguage. If the there is no appropriate entry in the ActiveLanguage then the default language is searched. If there is still no entry "missing string: "+Name is returned.
Public methodStatic memberIsStringDefined

Properties

  NameDescription
Public propertyStatic memberActiveLanguage
Gets or sets the active language

Events

  NameDescription
Public eventStatic memberActiveLanguageChangedEvent
Event which is fired when the active languae of the user interface is changed

See Also