• Saves Valuable Time
  • Trusted Accuracy for 14 Years
  • 15-Day Money-Back Guarantee

VB Equivalent to C++ Pure Virtual Methods

C++ VB
class AbstractClass
    virtual void AbstractMethod() = 0;
Public MustInherit Class AbstractClass
    Protected MustOverride Sub AbstractMethod()
End Class

If the class only contains pure virtual methods, then an alternative conversion is an interface:

Public Interface AbstractClass
    Sub AbstractMethod()
End Interface

Use C++ to VB Converter to convert from C++ to VB.NET.     

Additional resource: VB.NET and C++ Equivalents

Copyright © 1997 – 2018 Tangible Software Solutions, Inc.