C# to VB

  • Thread starter Thread starter Nikolay Petrov
  • Start date Start date
N

Nikolay Petrov

What this means in VB .NET?

public class RequestEmployee: ISocketObject


TIA
 
Nikolay Petrov said:
public class RequestEmployee: ISocketObject

Assuming that ISocketObject is an Interface (because it begins with
the letter "I") :

Public Class RequestEmployee
Implements ISocketObject

If it's a [poorly-named] class, this would become :

Public Class RequestEmployee
Inherits ISocketObject

HTH,
Phill W.
 
I thought so, but I get Type 'ISocketObject' is not defined.




Phill. W said:
Nikolay Petrov said:
public class RequestEmployee: ISocketObject

Assuming that ISocketObject is an Interface (because it begins with
the letter "I") :

Public Class RequestEmployee
Implements ISocketObject

If it's a [poorly-named] class, this would become :

Public Class RequestEmployee
Inherits ISocketObject

HTH,
Phill W.
 
Nikolay Petrov said:
I thought so, but I get Type 'ISocketObject' is not defined.

Maybe a reference or namespace import is missing and thus the interface
cannot be found.
 

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

Back
Top