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

C#
 
// Seek the country with French name 'Suisse'
if (oCntry.SeekByFreNam (eSeekMode.smEqual, "Suisse"))
{
    // Process record data
}

VBS
 
' Seek the country with French name 'Suisse'
If oCntry.SeekByFreNam(smEqual, "Suisse") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with French name 'Suisse'
If oCntry.SeekByFreNam(eSeekMode.smEqual, "Suisse") Then
    ' Process record data
End If