It's all about the answers!

Ask a question

Determining whether IAttribute instance is an enumeration


Geoff Alexander (18623839) | 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.5k23638) | 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.