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

C#
 
// Seek the country with English name 'Switserland'
if (oCntry.SeekByEngNam (eSeekMode.smEqual, "Switserland"))
{
    // Process record data
}

VBS
 
' Seek the country with English name 'Switserland'
If oCntry.SeekByEngNam(smEqual, "Switserland") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with English name 'Switserland'
If oCntry.SeekByEngNam(eSeekMode.smEqual, "Switserland") Then
    ' Process record data
End If