Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
2764 Points
391 Posts
Feb 23, 2012 06:18 PM|LINK
You should add 'AddressOf ' before your reference to the Create method in the GetData call. So
Dim result = Myextentions.GetData(Of oUserApplication)(oRD, AddressOf oUserApplication.Create)
Or even better:
Dim result = oRD.GetData(Of oUserApplication)(AddressOf oUserApplication.Create)
You know; extension method style. That should work.
Menno
Menno van de...
Contributor
2764 Points
391 Posts
Re: Problem Calling a VB extention method
Feb 23, 2012 06:18 PM|LINK
You should add 'AddressOf ' before your reference to the Create method in the GetData call. So
Or even better:
You know; extension method style. That should work.
Menno