Hi Madhu
Not sure if I understand your question correctly. But, if you are trying to
attach an attribute to a method with a return type using @attribute, it is
ambiguous since you don?t know whether the attribute is for the method or
the return type. In such cases you can use @attribute.method or
@attribute.return to disambiguate. For example,
/**@attribute.method MyAttribute() */
int fooMethod() {}
For more details, you might want to refer to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsharp/
html/vjgrfattachingattributes.asp
Thanks
Satish [MSFT]
--------------------
>Thread-Topic: Method attributes
>thread-index: AcP1CqzhjWN1xBVMQ2WZ7lEsNhwoPw==
[quoted text clipped - 20 lines]
>
>How to define method atttribute in j#?
---------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.