Click or drag to resize

JsonPathInfoResolvePlaceholderValuesFromPath Method

Extracts placeholder values from a "real" path.

Namespace:  MFiles.VAF.Configuration.JsonMapping
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
public Dictionary<int, Dictionary<string, string>> ResolvePlaceholderValuesFromPath(
	string path
)

Parameters

path
Type: SystemString
The "real" path to extract placeholder values from.

Return Value

Type: DictionaryInt32, DictionaryString, String
Placeholder values indexed by placeholder and segment index.
Examples
If the current instances path is foo.bar.<key>.value, and the real path passed is foo.bar.x.value. Then this method would return the value x indexed at 2 (segment index) and "key" (placeholder name) respectively. retVal[ 2 ][ "key" ] = "x";
See Also