Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2005, 12:31 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default How to Assign a Desc. to a Class Member

Given:
Code:
Public Class clsFlood

  Private AnimalsInArk As Long

  Public Property Animals() As Long

      Get
          Return AnimalsInArk
      End Get

      Set(ByVal Number As Long)
          AnimalsInArk = Number
      End Set

  End Property

End Class
how does one establish that the tooltip for the Animals property includes the description “Gets or Sets the size of Noah’s headaches”?
 
Old June 1st, 2005, 08:26 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is built into C# using XML documentation. There are add-ins to allow this same functionality in VS2003 for VB.NET. (Visual Studio 2005 supports VB.NET XML docs).

-Peter
 
Old June 1st, 2005, 12:16 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

What is the add-in called, and where can it be found?
 
Old June 1st, 2005, 02:07 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

http://www.google.com/search?hl=en&q...=Google+Search

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch7 Const Member Functions of a Class proslambano BOOK: Ivor Horton's Beginning Visual C++ 2005 1 March 5th, 2007 05:01 PM
Arraylist::Sort() by class member jilly Visual C++ 2005 0 March 22nd, 2006 06:49 PM
desc table miguel.ossa SQL Server 2000 2 February 26th, 2004 11:47 AM
Invoking event from member variable class adxabuan Visual C++ 0 February 2nd, 2004 06:04 AM
Forum class (member) explination?? drfunkie BOOK: ASP.NET Website Programming Problem-Design-Solution 0 June 15th, 2003 07:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.