Lightstreamer .Net Adapter 1.10.0
ContentsIndexHome
PreviousUpNext
IIndexedItemEvent.GetIndex Method

Returns the index of a named Field. Returns -1 if such a field is not reported in this event. Lightstreamer Kernel, through the Remote Server, will call this method up to once for every distinct client request of the Item. So, the implementation must be very fast.

C++
int GetIndex(string name);
C#
int GetIndex(string name);
Visual Basic
Function GetIndex(name As string) As Integer
Parameters 
Description 
string name 
A Field name. 

A 0-based index for the field or -1. The index must not be greater than the maximum index returned by getMaximumIndex().