I'm trying to check if a workItem is a feature or not. I don't know what to compare the workItem.Type to in order to do this though.
workItem
workItem.Type
Anybody know?
Found it!
workItem.Type.Name gives the name of the type. This results in the string "Feature"
workItem.Type.Name
"Feature"