Partial Method in VB.NET

今天在思考如何在VB 2008里引入partial method呢?

发现原来不是什么方法都可以声明成partial method的。

The definition must meet the following conditions:

  • The method must be a Sub, not a Function.

  • The body of the method must be left empty.

  • The access modifier must be Private.

posted @ 2009-03-11 16:50  卜海清  阅读(254)  评论(0编辑  收藏  举报