Performs the string expansion using replacing a variable name with a variable value.
Namespace:
SGP.XUtilityAssembly: 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
Exception | Condition |
---|---|
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). |