Verastream Host Integrator .Net Reference

HostIntegratorSession.SetCurrentRecordIndex Method 

Sets the current record in the current recordset, using the record's index number.

[Visual Basic]
Public Sub SetCurrentRecordIndex( _
   ByVal index As Integer _
public void SetCurrentRecordIndex(
   int index


Specifies the index of the record to make current.


Use -1 as the index to force the host's current record to match Verastream's current record. This is only appropriate if you intend to bypass the model to interact directly with the host (for example, by sending a terminal key).


Exception TypeCondition
HostIntegratorConnectorExceptionThrown if client is not connected
HostIntegratorExceptionThrown if the connection is for metadata only
HostIntegratorTerminalExceptionThrown if the index value is out of range
HostIntegratorModelDefExceptionThrown if the action fails because of an undefined scroll operation

See Also

HostIntegratorSession Class | HostIntegratorSession Members | WRQ.Verastream.HostIntegrator Namespace