1
General Board / Code Generation MustOverride
« on: December 15, 2003, 08:32:14 am »
Hello,
In a class, I have a method that should be MustOverride. So I add a tagged Value MustOverride =True.
When I Generate the code in VB.Net, the MustOverride keyWord is there but the method also have a "End Function".
In fact, when a method is MustOverride, there is no code in it and adding a "end function" line cause a syntax Error. Is there a way to tell the generation code to not add the "End function" line when a method is MustOverride?
Thank you
Martin Dube
In a class, I have a method that should be MustOverride. So I add a tagged Value MustOverride =True.
When I Generate the code in VB.Net, the MustOverride keyWord is there but the method also have a "End Function".
In fact, when a method is MustOverride, there is no code in it and adding a "end function" line cause a syntax Error. Is there a way to tell the generation code to not add the "End function" line when a method is MustOverride?
Thank you
Martin Dube