June 2005 - Posts

Deprecating Methods - J#

I was wondering regarding deprecating methods in J# and guess what everyone told me the @deprecated attribute. But how do i get a message to indicate what method to substitute with.

I was actually surpised to find the resolution at the winfx msdn articles and the funny thing is that it worked pretty well in 1.1 version of the framerowk

/** @attribute.method Obsolete("My Message", false) */

In case your looking for the link it was http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjcon/html/0449fb4b-b24e-4400-92ec-312ed29018a8.asp

 

with 0 Comments