title: How to create a Custom Contacts Folder in VSTO?
body: <p>I'm trying to create an empty Contacts folder in Outlook 2007 addin using C# in Visual Studio 2010, but it seems like I can only create a folder in the InBox, is that true?</p>
  
  <p>Below is my code:</p>
  
  <pre><code>    private void CreateContactsFolder()
      {
          Outlook.Folder allContacts = (Outlook.Folder)
              this.Application.ActiveExplorer().Session.GetDefaultFolder
              (Outlook.OlDefaultFolders.olFolderContacts);
  
          Outlook.MAPIFolder customFolder = null;
          string folderName = "All Contacts";
  
          customFolder = (Outlook.Folder)allContacts.Folders.
              Add(allContacts, Outlook.OlDefaultFolders.olFolderContacts);
      }
  </code></pre>