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

Gets the value for a field as it is after the reception of this update. 

If the "COMMAND logic" behaviour is enabled and the event carries a DELETE command, then all fields, but for the "key" and "command" fields, have a null new value. 

 

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

the field value, according to the above specifications; null is a legal value too.

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