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.JsonMappingAssembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
public bool TryFindOriginalValue(
JToken sourceValue,
out JToken origValue,
string suffix = "-OriginalValue"
)
- sourceValue JToken
-
The source value that may have a corresponding original value.
- origValue JToken
- Receives the original value if found.
- suffix String (Optional)
- The suffix that was used to store the original value.
BooleanTrue if the original value was found, false otherwise.