public HierarchyNode NodeFromItemId(uint itemId)
{
if (VSConstants.VSITEMID_ROOT == itemId)
{
return this;
}
if (VSConstants.VSITEMID_NIL == itemId)
{
return null;
}
if (VSConstants.VSITEMID_SELECTION == itemId)
{
throw new NotImplementedException();
}
return (HierarchyNode) ItemIdMap[itemId];
}