Search code examples
c#tfsazure-devopsworkitem

Check if a workItem's type is 'Feature'


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.

Anybody know?


Solution

  • Found it!

    workItem.Type.Name gives the name of the type. This results in the string "Feature"