Venice
Cntry::SeekByIsoCod
 
Seeks a Country card by its ISO code.
 
VARIANT_BOOL SeekByIsoCod (
    enum eSeekMode eSeekMode,
    BSTR bsIsoCountryCode
)
 
Key information
This method uses key number 3 (See SwapKey).
This key allows duplicates.
 
Key segment information
Segment NameTypeOrderCollation
pIsoCountryCodeBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsIsoCountryCode
[in] The ISO country code 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 code 'MX'
if (pCntry->SeekByIsoCod (smEqual, "MX"))
{
    // Process record data
}

C#
 
// Seek the country with country code 'MX'
if (oCntry.SeekByIsoCod (eSeekMode.smEqual, "MX"))
{
    // Process record data
}

VBS
 
' Seek the country with country code 'MX'
If oCntry.SeekByIsoCod(smEqual, "MX") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with country code 'MX'
If oCntry.SeekByIsoCod(eSeekMode.smEqual, "MX") Then
    ' Process record data
End If