Flowsheet BaseGet Translated String(String) Method
Looks up a localised string by key, searching flowsheet string resources first, then property name resources.
Falls back to the original key if no translation is found.
Definition
Namespace: DWSIM.FlowsheetBase
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
The localised string, or text if no translation exists.
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
C#
public string GetTranslatedString(
string text
)VB
Public Function GetTranslatedString (
text As String
) As StringParameters
- text String
- The resource key or property path to translate.
Return Value
StringThe localised string, or text if no translation exists.