Microsoft.VisualStudio.Project.ProjectConfig.GetProjectItem C# (CSharp) Method

GetProjectItem() public method

Maps back to the hierarchy or project item object corresponding to the browse object.
public GetProjectItem ( IVsHierarchy &hier, uint &itemid ) : int
hier IVsHierarchy Reference to the hierarchy object.
itemid uint Reference to the project item.
return int
        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);
        }