Click or drag to resize

JObjectHelperTryFindOriginalValue Method

Retrieves an original value that may have been set in a source structure for converted values that might lose some information. Typically the original value would have been saved with the SetOriginalValue(JToken, JToken, String) method.

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
public bool TryFindOriginalValue(
	JToken sourceValue,
	out JToken origValue,
	string suffix = "-OriginalValue"


Type: JToken
The source value that may have a corresponding original value.
Type: JToken
Receives the original value if found.
suffix (Optional)
Type: SystemString
The suffix that was used to store the original value.

Return Value

Type: Boolean
True if the original value was found, false otherwise.
See Also