Use 'Private Shadows' to hide member : Shadows « Class Module « VB.Net Tutorial






Public Class Base
    Public Function Greet1() As String
        Return "Greetings from Base"
    End Function
End Class

Public Class Derived
    Inherits Base
    Private Shadows Function Greet1() As String
        Return "Greetings from Base"
    End Function
End Class

Public Class Morederived
    Inherits Derived

End Class








6.43.Shadows
6.43.1.Use 'Private Shadows' to hide member
6.43.2.Test Shadows
6.43.3.Shadows Override
6.43.4.Hiding a member