Enable / disable a data type tag according to a datatype parameter

hello,
How can I enable / disable a data type tag according to a datatype parameter?
for example if my_parameter = 1 deactivate tag_A.
if my_parameter = 2
deactivate tag_A and tag_B

Thanks a lot

This isn’t possible as far as I know.

But maybe you shouldn’t ask your question geared towards a certain solution, but consider the actual problem you have.

I believe you have two structs that are very similar devices, but with a small difference. In that case, you could work with datatype inheritance: create a parent datatype that has all the common tags, and create two child datatypes that add specific tags.

https://docs.inductiveautomation.com/display/DOC80/UDT+Inheritance

thanks for your answer.
I wanted to avoid creating several datatype.
I think I can do something with parameter binding