Click or drag to resize

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: Altaxo
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public 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

String
The resource string corresponding to the given resource key, or the example value if not found and fallback is enabled.
See Also