Cntry::SeekByIsoNum (Interface: Cntry)
 
Seeks a Country card by its ISO number.
 
VARIANT_BOOL SeekByIsoNum (
    enum eSeekMode eSeekMode,
    BSTR bsIsoCountryNum
)
 
Key information
This method uses key number 2 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pIsoCountryNumBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsIsoCountryNum
[in] The ISO country number of the country card you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateCntry
 
Samples
 
C++
 
// Seek the country with ISO country number '017'
if (pCntry->SeekByIsoNum (smEqual, "017"))
{
    // Process record data
}

C#
 
// Seek the country with ISO country number '017'
if (oCntry.SeekByIsoNum (eSeekMode.smEqual, "017"))
{
    // Process record data
}

VBS
 
' Seek the country with ISO country number '017'
If oCntry.SeekByIsoNum(smEqual, "017") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with ISO country number '017'
If oCntry.SeekByIsoNum(eSeekMode.smEqual, "017") Then
    ' Process record data
End If