Class StringTable
Inheritance
System.Object
StringTable
Syntax
public class StringTable : StringTableBase
Methods
AddEntry(String)
Declaration
public StringTableEntry AddEntry(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
AddEntry(UInt32)
Declaration
public StringTableEntry AddEntry(uint keyId)
Parameters
Type |
Name |
Description |
System.UInt32 |
keyId |
|
Returns
GetEntry(String)
Declaration
public StringTableEntry GetEntry(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
GetEntry(UInt32)
Declaration
public StringTableEntry GetEntry(uint keyId)
Parameters
Type |
Name |
Description |
System.UInt32 |
keyId |
|
Returns
GetLocalizedPluralString(UInt32, Int32)
Declaration
public override string GetLocalizedPluralString(uint keyId, int n)
Parameters
Type |
Name |
Description |
System.UInt32 |
keyId |
Key ID from KeyDatabase for the original singular form.
|
System.Int32 |
n |
Plural amount
|
Returns
Type |
Description |
System.String |
The localized plural string. E.G '{0} files removed' or null if one can not be found.
|
Overrides
GetLocalizedString(UInt32)
Returns the localized version of the string or null if one can not be found.
Declaration
public override string GetLocalizedString(uint keyId)
Parameters
Type |
Name |
Description |
System.UInt32 |
keyId |
The id of the key, taken from the KeyDatabase.
|
Returns
Type |
Description |
System.String |
|
Overrides