Implement a VB interface.

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 :)
 
A

Armin Zingler

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
 
F

Family Tree Mike

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top