Venice
Contact::SeekByContact
 
Seeks a Contact card by its contact number.
 
VARIANT_BOOL SeekByContact (
    enum eSeekMode eSeekMode,
    LONG lNumber
)
 
Key information
This method uses key number 1 (See SwapKey).
This is a unique key.
 
Key segment information
Segment NameTypeOrderCollation
pNumberLONG (unsigned)Ascending-
 
Parameters
eSeekMode
[in] A value of the 'eSeekMode' enumeration.
lNumber
[in] The number of the project you want to seek.
 
Return value
True if the record with the given properties was found, otherwise false.
 
See Also
CreateContact
 
Samples
 
C++
 
// Seek the contact with number 123
if (pContact->SeekByContact (smEqual, 123))
{
    // Process record data
}

C#
 
// Seek the contact with number 123
if (oContact.SeekByContact (eSeekMode.smEqual, 123))
{
    // Process record data
}

VBS
 
' Seek the contact with number 123
If oContact.SeekByContact(smEqual, 123) Then
    ' Process record data
End If

VB.NET
 
' Seek the contact with number 123
If oContact.SeekByContact(eSeekMode.smEqual, 123) Then
    ' Process record data
End If