I have an abstract class with a single property, as defined below:
Public MustInherit Class MyClass
Public MustOverride Property MyProperty() As String
End Class
If inherit from this class, Visual Studio correctly informs me that I
must override MyProperty.
However, if I change the return type of MyProperty to Form, visual
studio does not enforce the MustOverride property.
Public MustOverride Property MyProperty() As Form
Anyone know why? More importantly, how can I enforce an Form as
return type for a property?
Thanks,
Mark