Public Interface I_Test
Function Foo() As String
End Interface
Function Foo() As String
End Interface
Implement the interface in the desired class:
Public MustInherit Class ShoppingListItem
Implements I_Test
Implements I_Test
Now, implement the behaviors (you will have errors until you do):
Public Function Foo() As String Implements I_Test.Foo
Return "Foo"
End Function
No comments:
Post a Comment