Venice
Crncy::SeekByIsoCod
 
Seeks a Currency card by its ISO code.
 
VARIANT_BOOL SeekByIsoCod (
    enum eSeekMode eSeekMode,
    BSTR bsIsoCurrencyCode
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pIsoCurrencyCodeBSTRAscendingCase insensitive
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
bsIsoCurrencyCode
[in] The ISO currency code of the currency card you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateCrncy
 
Samples
 
C++
 
// Seek the currency with ISO currency code 'EUR'
if (pCrncy->SeekByIsoCod (smEqual, "EUR"))
{
    // Process record data
}

C#
 
// Seek the currency with ISO currency code 'EUR'
if (oCrncy.SeekByIsoCod (eSeekMode.smEqual, "EUR"))
{
    // Process record data
}

VBS
 
' Seek the currency with ISO currency code 'EUR'
If oCrncy.SeekByIsoCod(smEqual, "EUR") Then
    ' Process record data
End If

VB.NET
 
' Seek the currency with ISO currency code 'EUR'
If oCrncy.SeekByIsoCod(eSeekMode.smEqual, "EUR") Then
    ' Process record data
End If