Results 1 to 5 of 5

Thread: [RESOLVED] [2005] Class Property Description

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    In my head
    Posts
    913

    Resolved [RESOLVED] [2005] Class Property Description

    Ok so how do I get the description to show up on a property with intellisense?

    Here is what I have:

    Code:
    Private ld_PropName as string
    
    <Category("Cat"), Description("I want to see this in Intellisense.")> _
        Public ReadOnly Property PropName() As String
            Get
                PropName = ld_PropName
            End Get
        End Property
    Nothing, nada, nil, zip, zilch in intellisense for description. Any ideas??

    Thanks all,

    D
    Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP

    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

    Reserved Words in Access | Connection Strings

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2005] Class Property Description

    I think this site provides a free tool to create your own intellisense information popup.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    Fanatic Member bgmacaw's Avatar
    Join Date
    Mar 2007
    Location
    Atlanta, GA USA
    Posts
    524

    Re: [2005] Class Property Description

    XML comments are the main way to do this in VS 2005. Just type in 3 single quotes and it will automagically appear and you fill in the blanks.

    Code:
        ''' <summary>
        ''' This is what you'll see in Intellisense
        ''' </summary>
        ''' <param name="param1">You'll see this too</param>
        ''' <remarks>Put other stuff here</remarks>

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Class Property Description

    As has been said, you use XML comments to display a member or type summary in Intellisense. The Description attribute that you show in post #1 is what gets displayed in the Description box at the bottom of the Properties window when that property is selected in the designer.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2006
    Location
    In my head
    Posts
    913

    Re: [2005] Class Property Description

    Thank you all for your input! I am hard at work on getting this all together

    More fun than a barrel of monkeys I tellya!!!

    D
    Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP

    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

    Reserved Words in Access | Connection Strings

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width