Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A Dim Statement uses a New Operator clause when declaring a variable to be of an interface type.
Although an interface is a reference type, you cannot create an instance of it. You can use New only to create an instance of a class or a structure.
Error ID: BC30375
To correct this error
If the variable is to be of an interface type, remove the
Newkeyword.If the variable is to refer to an instance, declare it to be of a class or structure type. Retain the
Newkeyword to create an instance.