This post is going to cover the Is Static property of the Class object in the UML Designer in Visual Studio 2012. Though the definition of this property is much better than its counter parts Is Leaf, Is Abstract, and Is Query, it’s still really not that good:
If True, this feature is shared by all the instances of its classifier. If False, each instance effectively has a separate copy of the feature.
but I’m not sure what would have been wrong with:
If True, adds the static modifierto this member.
however, it’s implementation is as straight forward as the second definition I gave you. If it’s set to True, your generated code will look something like this:
public static void Operation1() …
however, in contrast if it’s set to False it might look something like this:
public void Operation1() …
of course, that depends on other modifiers you might have set but the other posts cover those as well.
In conclusion, the Is Static property is the most straight forward of the properties. Why Microsoft made these definitions so abstract is a bit beyond me, but again, that’s why I don’t build the .NET framework!
Thanks for reading, I hope it’s clarified the Is Query property for you, feel free to comment below, and Like this post if you wish! Until next time, happy coding!