Performs the string expansion using replacing a variable name with a variable value.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static string Expand(
	string value,
	IXVarDictionary dictionary,
	string expandBegin,
	string expandEnd
)

Parameters

value
Type: System..::.String
The string to be expanded.
dictionary
Type: SGP.XUtility..::.IXVarDictionary
The dictionary of variables.
expandBegin
Type: System..::.String
The string identifies the beginning of the expansion.
expandEnd
Type: System..::.String
The string identifies the end of the expansion.

Return Value

Returns the expanded string.

Exceptions

ExceptionCondition
System..::.ArgumentNullException expandBegin is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::.ArgumentNullException expandEnd is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::.ArgumentNullException value is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also