public virtual int GetProjectItem(out IVsHierarchy hier, out uint itemid) { if (this.project == null || this.project.NodeProperties == null) { throw new InvalidOperationException(); } return this.project.NodeProperties.GetProjectItem(out hier, out itemid); }