Venice
Book::SeekByTsmId
 
Seeks a Book card by its TSM identification.
 
VARIANT_BOOL SeekByTsmId (
    enum eSeekMode eSeekMode,
    SHORT sTsmId
)
 
Key information
This method uses key number 2 (See SwapKey).
This is a unique key.
This is a null key, only the records where pUseTsm is true are in the index.
 
Key segment information
Segment NameTypeOrderCollation
pUseTsmVARIANT_BOOLAscending-
pTsmIdSHORT (unsigned)Ascending-
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
sTsmId
[in] The TSM identification of the Book you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateBook
 
Samples
 
C++
 
// Seek the book with TSM identifier = 7
if (pBook->SeekByTsmId (smEqual, 7))
    // Process record data

C#
 
// Seek the book with TSM identifier = 7
if (oBook.SeekByTsmId (eSeekMode.smEqual, 7))
    // Process record data

VBS
 
' Seek the book with TSM identifier = 7
If oBook.SeekByTsmId(smEqual, 7) Then
    ' Process record data
End If

VB.NET
 
' Seek the book with TSM identifier = 7
If oBook.SeekByTsmId(eSeekMode.smEqual, 7) Then
    ' Process record data
End If