An NDoc Documented Class Library

HostIntegratorSession.SetCurrentRecordIndex Method 

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

public virtual void SetCurrentRecordIndex(
   int index
);

Parameters

index
Specifies the index of the record to make current.

Remarks

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).

Exceptions

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 | WRQ.Verastream.HostIntegrator Namespace