• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 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 © 2004 – 2021 Tangible Software Solutions, Inc.