Skip to content

.NET inheritance (VS)

viltbalint edited this page Jan 9, 2018 · 1 revision

Issue I: Overwrite of .NET class member method is not possible

  • VS allows to inherit from generated .NET classes
  • LabVIEW generates static methods for all exported VIs

Problem

  • Static methods can't be overwritten, only w/ „new“ keyword (not equals to dynamic dispatching)
  • Note: Override of class attributes values works!

Workaround (limited)

  • LabVIEW implementation of getter/setter methods (for attributes)
  • Object parametrization from VS code

Issues_1