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

C#
 
// Seek the country with German name 'Schweiz'
if (oCntry.SeekByGerNam (eSeekMode.smEqual, "Schweiz"))
{
    // Process record data
}

VBS
 
' Seek the country with German name 'Schweiz'
If oCntry.SeekByGerNam(smEqual, "Schweiz") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with German name 'Schweiz'
If oCntry.SeekByGerNam(eSeekMode.smEqual, "Schweiz") Then
    ' Process record data
End If