Dim dictRepositoryItem as new Dictionary(of datatable,of gridcontrol.repository itemlookupedit)
dictRepositoryItem.add(Datatable1,repositoryitemlookupedit1)
答案 0 :(得分:1)
您需要在字典中使用正确的类型。
Dim dictRepositoryItem As New Dictionary(Of DataTable, DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit)
dictRepositoryItem.Add(Datatable1, repositoryitemlookupedit1)