It's all about the answers!

Ask a question

Determining whether IAttribute instance is an enumeration


Geoff Alexander (19623948) | asked Jul 15 '10, 9:41 a.m.
Say that I have an instance of IAttribute, attribute. How can I determine if attribute is an enumeration?

One answer



permanent link
Kim Soederhamn (1.5k34348) | answered Jul 27 '10, 7:19 a.m.
Say that I have an instance of IAttribute, attribute. How can I determine if attribute is an enumeration?


you could try with
attribute.getAttributeType()

it should return stuff like , html, type , smallstring etc.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.