ジェネリックなインターフェース

■定義

 Public Interface ITDList(Of T)

      Function DataLists() As List(Of T)

 End Interface

■使用例

Public Class TDUserInfo

  Inherits BaseDAO

  Implements ITDCount, ITDList(Of TUserInfo)

  Public Function DataLists() As List(Of TUserInfo) Implements

    ITDList(Of TUserInfo).DataLists

    Return Me.DataList.DList

  End Function

End Class