Public Sub aMethod() Implements Interface1.Method, Interface2.Method : Interface « Class Module « VB.Net Tutorial






Public Interface I1
    Sub Draw()
End Interface

Public Interface I2
    Sub Draw()
End Interface

Public Class Class1
    Implements I1, I2
    Public Sub foo() Implements I1.Draw, I2.Draw
    End Sub
End Class








6.44.Interface
6.44.1.Implement Interface
6.44.2.Interface with two methods
6.44.3.One Class implements two interfaces
6.44.4.Interface Inherits Interface
6.44.5.Interface with Property
6.44.6.Inheritance And Interfaces
6.44.7.Reimplement interface
6.44.8.Public Sub aMethod() Implements Interface1.Method, Interface2.Method
6.44.9.Two classes implement one interface
6.44.10.Implements two interfaces and WriteOnly Property