| |
| Seeks a Postal Code card by its city. |
| |
 |
VARIANT_BOOL SeekByCity ( enum eSeekMode eSeekMode, BSTR bsCitySearchText, BSTR bsPostalCodeSearchText ) |
|
| |
| Key information | | | | | Key segment information | | Segment Name | Type | Order | Collation | | pCitySearch | BSTR | Ascending | Case insensitive | | pPCodeSearch | BSTR | Ascending | Case insensitive |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsCitySearchText | | [in] The unformatted city (search text) of the postal code card you want to seek.
| | bsPostalCodeSearchText | [in] The unformatted postal code (search text) of the postal code card you want to seek.
| | | | Return value |
| True if the record with the given properties was found, otherwise false. |
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the postal code card with city 'Ruddervoorde' and postal code '8020'
if (pPstCd->SeekByCity (smEqual, pPstCd->GetCitySearchText ("Ruddervoorde"), pPstCd->GetPostalCodeSearchText ("8020")))
{
// Process record data
}
|
|
 |
C# |
| |
// Seek the postal code card with city 'Ruddervoorde' and postal code '8020'
if (oPstCd.SeekByCity (eSeekMode.smEqual, oPstCd.GetCitySearchText ("Ruddervoorde"), oPstCd.GetPostalCodeSearchText ("8020")))
{
// Process record data
}
|
|
 |
VBS |
| |
' Seek the postal code card with city 'Ruddervoorde' and postal code '8020'
If oPstCd.SeekByCity(smEqual, oPstCd.GetCitySearchText("Ruddervoorde"), oPstCd.GetPostalCodeSearchText("8020")) Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the postal code card with city 'Ruddervoorde' and postal code '8020'
If oPstCd.SeekByCity(eSeekMode.smEqual, oPstCd.GetCitySearchText("Ruddervoorde"), oPstCd.GetPostalCodeSearchText("8020")) Then
' Process record data
End If
|
|