Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / February 2004

Tip: Looking for answers? Try searching our database.

Method attributes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Madhu - 17 Feb 2004 04:01 GMT
How to define method atttribute in j#?
Satish Kadu - 17 Feb 2004 11:17 GMT
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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.