Please tell me how to get itemtype id

Please let me know how to get itemtype ID if you choose from TOC window........