View Single Post
  #5 (permalink)  
Old 07-13-2009, 9:24 AM
JohnH's Avatar
JohnH JohnH is offline
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,318
Reputation: 1315
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

Instead of passing Nothing as you do now, why not create an empty parameter instance and pass that? The naming of this service is just ridiculous, but the code would be this:
Code:
Dim Countries As RefDataFunctionsBean.country() = MyService.getCountries(New RefDataFunctionsBean.getCountries)
__________________
Reply With Quote