Soluga
asked on
Remove item from generic list
Hi
I am trying to remove an item from a generic list, I have been using the code below but it does not remove the item.
_oM04_UserManager = New M04_UserManager
Dim oM04_UserList As List(Of M04_User)
oM04_UserList = _oM04_UserManager.GetAllUs ersForAllC ompanies(_ userId)
oM04_UserList.RemoveAll(Fu nction(p As M04_User) p.UserID = "5833aeb8-13e7-44e5-b60d-6 00395f5cda b")
Would be grateful for any advice
Thanks
I am trying to remove an item from a generic list, I have been using the code below but it does not remove the item.
_oM04_UserManager = New M04_UserManager
Dim oM04_UserList As List(Of M04_User)
oM04_UserList = _oM04_UserManager.GetAllUs
oM04_UserList.RemoveAll(Fu
Would be grateful for any advice
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks