2009-05-29 20 views
0

我無法讓Bindable LINQ與VB.NET一起工作,爲了我的生活。我如何獲得.AsBindable延伸出現?VB.NET中的可綁定LINQ(BLinq)

示例代碼:

Class TestList : Inherits Bindable.Linq.Collection.BindableCollection(Of TestItem) 
    'Some Helpers and stuff' 
End Class 

Class TestItem 
    'Some Properties' 
End Class 

想象我奇蹟般地拿出一個裝滿物品的集合。我會斯特雷類似如下的

DataContext = From G In TheList.AsBindable Order By G.Name 

但我得到.AsBindable一個錯誤,「AsBindable不是TestList成員」

回答

1

不要取笑我,但我不得不do是Import Bindable.Linq