With this code I get the extended properties for contacts with a specific display name:
foreach(Contact c in contacts)
{
// some code...
view.PropertySet = new PropertySet(BasePropertySet.IdOnly, properties);
filter = new SearchFilter.IsEqualTo(FolderSchema.DisplayName, c.DisplayName);
items = service.FindItems(folderId, filter, view);
}
I want to filter not by the DisplayName
but by the Contact.Id
, but i can't find a way to do that.