Helper method to set a field's local variable value (for text fields with local variables only).

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool SetLocalValue(
	string strFieldName,
	string strLocalName,
	string strValue,
	bool bValidate
)
Visual Basic (Declaration)
Public Function SetLocalValue ( _
	strFieldName As String, _
	strLocalName As String, _
	strValue As String, _
	bValidate As Boolean _
) As Boolean
Visual C++
public:
bool SetLocalValue(
	String^ strFieldName, 
	String^ strLocalName, 
	String^ strValue, 
	bool bValidate
)

Parameters

strFieldName
Type: System..::.String
The field name.
strLocalName
Type: System..::.String
The local variable name.
strValue
Type: System..::.String
The new variable 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 (field and local variable do exist, validation successfull).

See Also