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

C#
 
// Seek the country with ISO currency code 'ALL'
if (oCntry.SeekByIsoCur (eSeekMode.smEqual, "ALL"))
{
    // Process record data
}

VBS
 
' Seek the country with ISO currency code 'ALL'
If oCntry.SeekByIsoCur(smEqual, "ALL") Then
    ' Process record data
End If

VB.NET
 
' Seek the country with ISO currency code 'ALL'
If oCntry.SeekByIsoCur(eSeekMode.smEqual, "ALL") Then
    ' Process record data
End If