CADability dotNET
The StringTable type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddString |
Adds the strings of the given xml document to the string table.
| |
AddStrings(Stream) | ||
AddStrings(XmlDocument) | ||
GetFormattedString |
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.
| |
GetLanguageNames | ||
GetSplittedStrings |
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.
| |
GetString(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.
| |
GetString(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.
| |
IsStringDefined |