• Saves Valuable Time
  • Trusted Accuracy since 2004
  • 15-Day Money-Back Guarantee

VB Equivalent to the Java 'instanceof' and 'class' Operators

boolean b = f instanceof Foo;
Class t = w.class;
Dim b As Boolean = TypeOf f Is Foo
Dim t As Type = GetType(w)

Use Java to VB Converter to convert from Java to VB.NET.     

Additional resource: VB.NET and Java Equivalents

Copyright © 2004 – 2021 Tangible Software Solutions, Inc.