| |
| Seeks a Contact card by its name. |
| |
 |
VARIANT_BOOL SeekByName ( enum eSeekMode eSeekMode, BSTR bsName, BSTR bsFirstName ) |
|
| |
| Key information | | | | | Key segment information | | Segment Name | Type | Order | Collation | | pName | BSTR | Ascending | Case insensitive | | pFirstName | BSTR | Ascending | Case insensitive |
| | | | Parameters | | eSeekMode | | [in] A value of the 'eSeekMode' enumeration. | | bsName | | [in] The name of the contact you want to seek. | | bsFirstName | | [in] The first name of the contact you want to seek. | | | | Return value |
| True if the record with the given properties was found, otherwise false. |
| |
| See Also |
|
|
|
| |
| Samples |
| |
 |
C++ |
| |
// Seek the contact with name = 'Vandenberghe' and first name = 'Peter'
if (pContact->SeekByName (smEqual, "Vandenberghe", "Peter"))
{
// Process record data
}
|
|
 |
C# |
| |
// Seek the contact with name = 'Vandenberghe' and first name = 'Peter'
if (oContact.SeekByName (eSeekMode.smEqual, "Vandenberghe", "Peter"))
{
// Process record data
}
|
|
 |
VBS |
| |
' Seek the contact with name = 'Vandenberghe' and first name = 'Peter'
If oContact.SeekByName(smEqual, "Vandenberghe", "Peter") Then
' Process record data
End If
|
|
 |
VB.NET |
| |
' Seek the contact with name = 'Vandenberghe' and first name = 'Peter'
If oContact.SeekByName(eSeekMode.smEqual, "Vandenberghe", "Peter") Then
' Process record data
End If
|
|