RecroDictAddOrReplaceAsync Method

Adds or replaces a translation asynchronously. If the translation is null or empty, the entry will be deleted.

Definition

Namespace: Recrovit.RecroGridFramework
Assembly: Recrovit.RecroGrid (in Recrovit.RecroGrid.dll) Version: 8.16.0.25.0402.1
C#
public static Task<int> AddOrReplaceAsync(
	string scope,
	string resourceKey,
	string translation,
	string language,
	int? displayOrder = null
)

Parameters

scope  String
The scope.
resourceKey  String
The string identifier.
translation  String
The string value. If null or empty, the entry will be deleted.
language  String
The language.
displayOrder  NullableInt32  (Optional)
The display order (optional).

Return Value

TaskInt32
Task with result code: 1 or 0 if successful, -1 if failed.

See Also