Recommended

Skip Navigation LinksHome / News / View News

Creating Extension Methods in VB

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 11, 2009
(0 votes)

Jesse Liberty has created this article in order to answer the question about how to create extension methods in VB.

It turns out that the key difference is that the extension must be defined in a Module and not in a class. Thus, building on the code from the previous example, we end up with the same Page.xaml and a very similar Page.xaml.vb and a quite different Extension.vb.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 5 and type the answer here:

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)