title: Excel Interop Shapes has no Item method
body: <p>I am trying to get a shape by name. The shape in question is a picture. The code compiles but at runtime I get "error CS1061: 'Shapes' does not contain a definition for 'Item' and no accessible extension method 'Item' accepting a first argument of type 'Shapes' could be found (are you missing a using directive or an assembly reference?)". However, Item() is listed in docs and intelliSense. I have noticed the same issue with the Names collection, but in that case I worked around it by looping through the collection. That's not practical in this case. What am I missing? </p>
  
  <pre><code>using Microsoft.Vbe.Interop.Forms;
  using System;
  using System.IO;
  using System.Linq;
  using xl = Microsoft.Office.Interop.Excel;
  using Office = Microsoft.Office.Core;
  
  namespace MyWorkbook
  {
      public partial class Sheet1
      {
          private CommandButton btnDelete;
  
          private void btnDelete_Click()
          {
              xl.Shape S = this.Shapes.Item("Name"); 
              if (S != null) S.Delete();
          }
      }
  }
  </code></pre>