Helper method to set a global variable without retrieving the variable objects.
Namespace:
InfigoSDK
Assembly:
InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic (Declaration) |
---|
Public Function SetGlobalValue ( _
strGlobalName As String, _
strValue As String, _
bValidate As Boolean _
) As Boolean |
Parameters
- strGlobalName
- Type: System..::.String
The name of the global variable.
- strValue
- Type: System..::.String
The new value.
- bValidate
- Type: System..::.Boolean
Pass true if the value should be validated (based on the template settings), false otherwise. It is recommended, that validation should be used.
Return Value
Returns true on success (variable does exist, validation successfull).
See Also