Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Default property Item in vb.net

The default property doesn't work in vb.net.
But the property Item still is the default property (also in .net).
Any idee how I can use the property item as the default property in my own classes ?

Thanks,

Luc.
0
dekeyzer
Asked:
dekeyzer
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
You need to add the Default keyword to the property declaration:

http://www.vbcity.com/forums/topic.asp?tid=7667&#RID23989
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now