Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB extension property instead of extension method

I saw this post and I want to know if this is possible in VB.

So like extension method, do extension properties exists in VB.Net?

Here I've read they do, but cannot find any examples.

like image 531
Terry Avatar asked Mar 16 '12 13:03

Terry


1 Answers

I believe that person is incorrect. From MSDN

You cannot define an extension property, field, or event.

like image 198
vcsjones Avatar answered Sep 24 '22 22:09

vcsjones