Contact.GetContactID Method

Get a contact id by name
Public Shared Function GetContactID( _ 
ByVal name As String, _ 
ByVal db As IDatabase
) As EntityID
This language is not supported or no code example is available.
public static EntityID GetContactID( 
string name
IDatabase db 
)
This language is not supported or no code example is available.
public:  
static EntityID^ GetContactID( 
String^ name
IDatabase^ db 
)
This language is not supported or no code example is available.
public static function GetContactID( 
name : String
db : IDatabase 
) : EntityID;
This language is not supported or no code example is available.

Parameters

name
string

the first and last name to look for

db
IDatabase

the db to use

Return Value

EntityID

the id of the contact

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition