title: How can I get the outlook contact's avatar image?
body: <p>I am trying to get the contact's avatar image.</p>
  
  <pre><code>using Microsoft.Office.Interop.Outlook;
  
  public sealed class OutlookAvatarFetcher
  {
      private static void FetchAvatars()
      {
          var outlook = new Application();
          var folder = outlook.GetNamespace("MAPI").GetDefaultFolder(OlDefaultFolders.olFolderContacts);
          var items = folder.Items;
  
          for (var i = 0; i &lt; items.Count; ++i)
          {
              var contact = items[i + 1] as ContactItem;
              if (contact == null)
                  continue;
  
  
              if (contact.HasPicture)
              {
                  // TODO store the picture somehow.
              }
          }
      }
  }
  </code></pre>
  
  <p>But unfortunately I can't find a picture accessor.</p>