Implement a VB interface.

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

Hello.
What is the equivalent code in VB (As the following C# code) ?

public interface myInterface : UpInterface
{
}
....

How can I implement the UpInterface in VB.NET ?

Need sample code, please.

Thanks :)
 
Mr. X. said:
Hello.
What is the equivalent code in VB (As the following C# code) ?

public interface myInterface : UpInterface
{
}
....

How can I implement the UpInterface in VB.NET ?

Need sample code, please.

Thanks :)

RTFM
 
Mr. X. said:
Hello.
What is the equivalent code in VB (As the following C# code) ?

public interface myInterface : UpInterface
{
}
....

How can I implement the UpInterface in VB.NET ?

Need sample code, please.

Thanks :)


.

The equivalent is:

Public Interface myInterface
Inherits UpInterface
End Interface

I'm not sure what the "UpInterface" is, but to impliment it, just create a
class as below:

Public Class MyUpper
Implements myInterface ' or UpInterface...
End Class

When you type the Impliments statement, the IDE adds the stubbed
functions/properties for you.

Mike
 
Back
Top