【发布时间】:2011-07-05 08:11:32
【问题描述】:
我试图让一个泛型方法在 VB.NET 中工作,但我无法获得接受泛型类型参数的签名。我只是得到“'t' is not accesble because it is "Friend"”。
我的方法签名是:
Public Shared Function GetOffset(ByVal coll As IEnumerable(Of t), ByVal offset As Integer, ByVal limit As Integer) As IEnumerable(Of t)
【问题讨论】:
标签: .net asp.net vb.net generics