Draw Override function in Visio
i'm using Visio that comes with VS.NET 2003..(Visio Enterprise Architect SR1? if i'm not wrong)
want to ask how to make an Override Function?
since i'm able to make an Abstract Class that if i do Generate Code (VB), it
would have
ex: Public MustInherit Class ClassA
public MustOverride Function MethodA
public MustOverride Function MethodB
but i'm not able to figure it out how the Derived Class from ClassA can have
Public Overrides Function MethodA
Public Overrides Function MethodB -> if i choose Generate Code
hope u understand what i mean
PS: not sure if i post in right forum..
thx,
erick
Re: Draw Override function in Visio
If you want an overrides function then you need to declare the signature as "Public Overridable".
Re: Draw Override function in Visio
thx Rb
Quote:
If you want an overrides function then you need to declare the signature as "Public Overridable".
that's true for Polymorphism so i need to check the IsPolymorphism in Operations Tab in UML Class Properties..but not for Abstract Class/Function
from what i read
if u got MustOverride Function in Base Class u must declare Overrides Function in Derived Class
(it is an Abstract Function in the Abstract Class(the Base Class))
just curious how to that in Visio..been 2 days now try to figure it out.I begin to think that Visio can't do that..but why it can have Abstract (MustOverride) Function then :confuse: