|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Class and property questionI just created a property for my class that inherits nodes to set and get some additional fileds, I would like to to enable on each property the tool tips that show while we actually start to type the property's name into our codes like : textbox1.textalign (has that information beside it : "Set or Get how text is align in a system.windows.forms.textbox" or into a dataview.item would say : "Get a row of data from the specified table" how can I implement that ? I've tried something like that but I can be completely way out. Public Property ID() <summary> "would like to explain properties here" </summary> GetReturn p_id End Get Set(ByVal Value) p_id = Value End Set End Property Marc R. Marc
In version 2005 that is standard in VB Net I see this article for the first time, however I thought your part is at the bottom. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbgeneratingdocs.asp I hope this helps, Cor Show quoteHide quote "Marc R." <Nospam@NewgroupsONLY.com> schreef in bericht news:umg8CDKJGHA.3408@TK2MSFTNGP12.phx.gbl... > Hi all, > > I just created a property for my class that inherits nodes to set and get > some additional fileds, > > I would like to to enable on each property the tool tips that show while > we actually start to type the property's name into our codes like : > > textbox1.textalign (has that information beside it : "Set or Get how text > is align in a system.windows.forms.textbox" > > or into a dataview.item would say : "Get a row of data from the specified > table" > > how can I implement that ? > > I've tried something like that but I can be completely way out. > Public Property ID() > > <summary> "would like to explain properties here" </summary> > > Get > > Return p_id > > End Get > > Set(ByVal Value) > > p_id = Value > > End Set > > End Property > > > > Marc R. > > > > thanks for your help,
Most of the solutions are went you have an DLL, wich I don't use, that class is only use for me to build my treeview with binded feild to a dataset. Since I didn't discover no way to Bind a treview nodes to a dataset. Thanks anyway, got good information for next project with an dll. Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23jFFNpKJGHA.1132@TK2MSFTNGP10.phx.gbl... > Marc > > In version 2005 that is standard in VB Net > > I see this article for the first time, however I thought your part is at > the bottom. > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vbgeneratingdocs.asp > > I hope this helps, > > Cor > > "Marc R." <Nospam@NewgroupsONLY.com> schreef in bericht > news:umg8CDKJGHA.3408@TK2MSFTNGP12.phx.gbl... >> Hi all, >> >> I just created a property for my class that inherits nodes to set and get >> some additional fileds, >> >> I would like to to enable on each property the tool tips that show while >> we actually start to type the property's name into our codes like : >> >> textbox1.textalign (has that information beside it : "Set or Get how text >> is align in a system.windows.forms.textbox" >> >> or into a dataview.item would say : "Get a row of data from the specified >> table" >> >> how can I implement that ? >> >> I've tried something like that but I can be completely way out. >> Public Property ID() >> >> <summary> "would like to explain properties here" </summary> >> >> Get >> >> Return p_id >> >> End Get >> >> Set(ByVal Value) >> >> p_id = Value >> >> End Set >> >> End Property >> >> >> >> Marc R. >> >> >> >> > >
Show quote
Hide quote
"Marc R." <Nospam@NewgroupsONLY.com> schrieb: Adding IntelliSense tooltips, XML comments, and documentation> I just created a property for my class that inherits nodes to set and get > some additional fileds, > > I would like to to enable on each property the tool tips that show while > we actually start to type the property's name into our codes like : > > textbox1.textalign (has that information beside it : "Set or Get how text > is align in a system.windows.forms.textbox" > > or into a dataview.item would say : "Get a row of data from the specified > table" > > how can I implement that ? <URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxmldocumentation&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> > I've tried something like that but I can be completely way out. The XML comment must be placed above property definition:> Public Property ID() > > <summary> "would like to explain properties here" </summary> <summary> would like to explain properties here </summary> Public Property ID() .... Then you must generate XML documentation file and place it in the same folder as your class DLL. You can use our VBdocman .NET to do all the work for you. Here is the help topic for your particular need: http://www.vbdocman.com/net/help/index.html?page=source%2fdeploy_context_help.htm -- Peter Macej Helixoft - http://www.vbdocman.com VBdocman - Automatic generator of technical documentation for VB, VB ..NET and ASP .NET code
User's Mail Editor
Problème data tramsmission from tableadapter to ACCESS database Odd or Even How to: Omit Deafulted Elements from XML When Serializing Help with Radio button loop Darn, still does not work! convert rtf to html Playing sounds from resources in VB2005 Can't get a value from my app.config file Determine my IP Address |
|||||||||||||||||||||||