How do I show a description of my method in intellisense?

Posted on 2006-03-20
Last Modified: 2010-04-16
I am trying to show a description of a method in intellisense, but it's not working for me. I am trying:

using System.EnterpriseServices;


[Description("Description for method")]
public void Method()

I don't have any errors or anything, but no description comes up when I access this method via intellisense (like if you do MessageBox.Show you see a description that says "Displays a message box in front of the specified object and with the specified text.")
Question by:PoeticAudio
    LVL 5

    Accepted Solution

    try this

        /// <summary>
        /// This is the class Test
        /// </summary>
        class Test
            /// <summary>
            /// Use Foo with param bar
            /// </summary>
            /// <param name="bar">bsr is of type string</param>
            static public void Foo(string bar)

    LVL 4

    Expert Comment

    the [Description] style tag you where using originally, appears to be of the format used for specifying properties on a custom Control.
    For example, you can use
    to specify that a property will be invisible to the properties viewer.

    Featured Post

    Live - One-on-One C# Help from Top Experts

    Solve your toughest problems, fast.
    C# experts are online now and ready to help you.

    Join & Write a Comment

    This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now