Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.
Public MustInherit Class myBaseClass Enum ENUMTYPES Type1 Type2 End Enum Public MustOverride Function getClassType() as ENUMTYPES End Class Public Class CType1 Public Overrides Function getClassType() as ENUMTYPES getClassType=Type1 End Function End Class Public Class CType2 Public Overrides Function getClassType() as ENUMTYPES getClassType=Type2 End Function End Class Public Sub someSeperateMethod() 'Some list of CType1's and CType2's. if(myList.Item(1).getClassType()==Type1)then 'Typecast to CType1 else 'Typecast to CType2 end if End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|VB.NET - How to add, update and delete values directly to a SQL Database table||2||52|
|How can I add google maps in vb.net.||2||48|
|Make borderless form movable by user||2||27|
Join the community of 500,000 technology professionals and ask your questions.