title: Delete and update Outlook contact using jacob library
body: <p>I am using jacob library. Using jacob library and following <a href="http://aashuaggarwal.blogspot.com/2011/11/accessing-outlook-contacts-using-jacob.html" rel="nofollow">this</a> tutorial i am able to add a contact in outlook. Now i want to delete and update that contact using jacob. i want to know is there any way to delete the outlook contact using jacob.</p>
  
  <p>I am using this code to add contact in outlook. here email id is unique id. </p>
  
  <pre><code>        ActiveXComponent axOutlook = new ActiveXComponent("Outlook.Application");
          Dispatch oOutlook = axOutlook.getObject();
          Dispatch createContact = Dispatch.call((Dispatch)oOutlook, "CreateItem", new Variant(2)).toDispatch();
  
          Dispatch.put(createContact,"LastName",cont.getLastName());
          Dispatch.put(createContact,"FirstName",cont.getFirstName());
          Dispatch.put(createContact,"Title",cont.getTitle());
          Dispatch.put(createContact,"Email1Address",cont.getPrimaryEmail());
  
          Dispatch.call(createContact, "Save");
  </code></pre>