StringResourcesGetString(StringResourceKey, Boolean) Method |
Gets a resource string for a given resource key, with an option to fall back to the example value if not found.
Namespace: AltaxoAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic string GetString(
StringResourceKey resourceKey,
bool fallbackToExampleValue
)
Parameters
- resourceKey StringResourceKey
- The resource key.
- fallbackToExampleValue Boolean
- If true, returns the example value if the resource key is not found; otherwise, returns null.
Return Value
StringThe resource string corresponding to the given resource key, or the example value if not found and fallback is enabled.
See Also