Lightstreamer PCL (Portable Class Library) Client 3.1.0
ContentsIndexHome
PreviousUpNext
IUpdateInfo.IsValueChanged Method (int)

Asks whether the value for a field has changed after the reception of this update. For the first update for the item, it always returns true. 

If the "COMMAND logic" behaviour is enabled, then the change is meant as relative to the same key; as a consequence, on ADD commands the method always returns true; moreover, on DELETE commands the method returns true for all fields, but for the "key" field. 

 

C++
bool IsValueChanged(int fieldPos);
C#
bool IsValueChanged(int fieldPos);
Visual Basic
Function IsValueChanged(fieldPos As Integer) As bool
Parameters 
Description 
int fieldPos 
the 1-based field position within the Schema of fields in the related table. 

true if the updated value is different than the previous one, according to the above specifications.

Exceptions 
Description 
ArgumentException 
the specified field position does not represent a subscribed field.