Title: About the Obsolete Features in VB.NET
终极管理员 知识笔记 35阅读
Before Visual Studio 2008 SP1 (including), if you compile the following code, you will get BC30668 error, but # did not have this problem from the beginning. I think # makes sense, because on the call stack, if all methods are marked as obsolete, it is not an error. Obsolete ('This program is obsolete' True) _ Public Sub Foo() Foo(0)' Here! Error bc306683360 "public subfoo (arg1asinteger)" is obsolete : "This process is obsolete". End Sub has expired ("this process has expired" is True) _ Public Sub Foo(ByVal arg1 is an integer) End Sub is now in VB. Net problem has been solved in Visual Studio 2010 Beta2. See discussion whether : can disable BC30668 compiler error leading to ObsoletedAttribute?
原文:关于 VB.NET 中 Obsolete 特性的问题
