Hi all, not exactly a asp.net question, but I'm sure you people know this
one. I'm just not sure what to look for in help, because it's sure to be in
there too.
I'm creating a reusable class library and I want to be able to add usage
remarks that would show up in Intellisense when the library was being called
from elsewhere. How does one add these comments? I'm taking about the stuff
that pops in Intellisense that says stuff like "Gets or sets the X
property.".
Thanks!
Matt 6 1732
Matt
Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just need to add
some comments
"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de... Hi all, not exactly a asp.net question, but I'm sure you people know this one. I'm just not sure what to look for in help, because it's sure to be in there too.
I'm creating a reusable class library and I want to be able to add usage remarks that would show up in Intellisense when the library was being called from elsewhere. How does one add these comments? I'm taking about the stuff that pops in Intellisense that says stuff like "Gets or sets the X property.".
Thanks!
Matt
That is not the same thing. (that is just the C# XML auto document feature)
This question has been asked before, and I not sure it is simple to do (if
at all). (Does it involve attributes?)
Greg
"Janaka" <ja****@magicalia.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl... Matt
Try typing in /// on the line directly above your class, procedure, property, etc. Visual Studio then fills in the rest you just need to add some comments
"MattB" <so********@yahoo.com> wrote in message news:2q************@uni-berlin.de... Hi all, not exactly a asp.net question, but I'm sure you people know this one. I'm just not sure what to look for in help, because it's sure to be in there too.
I'm creating a reusable class library and I want to be able to add usage remarks that would show up in Intellisense when the library was being called from elsewhere. How does one add these comments? I'm taking about the stuff that pops in Intellisense that says stuff like "Gets or sets the X property.".
Thanks!
Matt
Sorry, my bad. I didn't realize that C# /// did the intellisense thing too.
There are some hacks to make this work with VB.
Take a look at this thread: http://tinyurl.com/5dgao
Greg
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:uK**************@TK2MSFTNGP11.phx.gbl... That is not the same thing. (that is just the C# XML auto document feature)
This question has been asked before, and I not sure it is simple to do (if at all). (Does it involve attributes?)
Greg
"Janaka" <ja****@magicalia.com> wrote in message news:OU**************@TK2MSFTNGP09.phx.gbl... Matt
Try typing in /// on the line directly above your class, procedure, property, etc. Visual Studio then fills in the rest you just need to add some comments
"MattB" <so********@yahoo.com> wrote in message news:2q************@uni-berlin.de... Hi all, not exactly a asp.net question, but I'm sure you people know this one. I'm just not sure what to look for in help, because it's sure to be in there too.
I'm creating a reusable class library and I want to be able to add usage remarks that would show up in Intellisense when the library was being called from elsewhere. How does one add these comments? I'm taking about the stuff that pops in Intellisense that says stuff like "Gets or sets the X property.".
Thanks!
Matt
I believe these are just hacks to give VB the same commenting ability as C#.
I don't believe there is currently a way to do this in VB.
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl... Sorry, my bad. I didn't realize that C# /// did the intellisense thing too.
There are some hacks to make this work with VB.
Take a look at this thread:
http://tinyurl.com/5dgao
Greg
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message news:uK**************@TK2MSFTNGP11.phx.gbl... That is not the same thing. (that is just the C# XML auto document feature)
This question has been asked before, and I not sure it is simple to do (if at all). (Does it involve attributes?)
Greg
"Janaka" <ja****@magicalia.com> wrote in message news:OU**************@TK2MSFTNGP09.phx.gbl... Matt
Try typing in /// on the line directly above your class, procedure, property, etc. Visual Studio then fills in the rest you just need to add some comments
"MattB" <so********@yahoo.com> wrote in message news:2q************@uni-berlin.de... Hi all, not exactly a asp.net question, but I'm sure you people know this one. I'm just not sure what to look for in help, because it's sure to be in there too.
I'm creating a reusable class library and I want to be able to add usage remarks that would show up in Intellisense when the library was being called from elsewhere. How does one add these comments? I'm taking about the stuff that pops in Intellisense that says stuff like "Gets or sets the X property.".
Thanks!
Matt
No wonder it was hard to find. Thanks for the tips. This seems like a big
oversight in vb. I would have expected it to be in there without having to
resport to using a hack (appears others have had the same thought). Does
anyone know if it's in the next version of vb?
Anyway, THANKS for the info!
Matt
Scott M. wrote: I believe these are just hacks to give VB the same commenting ability as C#. I don't believe there is currently a way to do this in VB.
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message news:%2***************@TK2MSFTNGP12.phx.gbl... Sorry, my bad. I didn't realize that C# /// did the intellisense thing too.
There are some hacks to make this work with VB.
Take a look at this thread:
http://tinyurl.com/5dgao
Greg
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message news:uK**************@TK2MSFTNGP11.phx.gbl... That is not the same thing. (that is just the C# XML auto document feature)
This question has been asked before, and I not sure it is simple to do (if at all). (Does it involve attributes?)
Greg
"Janaka" <ja****@magicalia.com> wrote in message news:OU**************@TK2MSFTNGP09.phx.gbl... Matt
Try typing in /// on the line directly above your class, procedure, property, etc. Visual Studio then fills in the rest you just need to add some comments
"MattB" <so********@yahoo.com> wrote in message news:2q************@uni-berlin.de... > Hi all, not exactly a asp.net question, but I'm sure you people > know this one. I'm just not sure what to look for in help, > because it's sure to be in there too. > > I'm creating a reusable class library and I want to be able to add > usage remarks that would show up in Intellisense when the library > was being called from elsewhere. How does one add these comments? > I'm taking about the stuff that pops in Intellisense that says > stuff like "Gets or sets the X property.". > > Thanks! > > Matt
VB XML comments will be added to VB 2005. The intellisense feature? I
would assume so.
Greg
"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de... Does anyone know if it's in the next version of vb? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: andrew.queisser |
last post by:
Yesterday I typed in some C++ code that called a function with two
ints. Intellisense (auto-complete) helpfully told me that the first
formal parameter was called "frontLight" and the second...
|
by: Stefan Kronberg |
last post by:
I'm working on a solution containing about 20 projects. Some of the projects
contain class definitions that are used in other of the projects. Most of
the time intellisense is working ok, i.e. if I...
|
by: Christopher W. Douglas |
last post by:
I'm working in VB.Net, using Visual Studio 2003.
I have a project, let's call it Foo, that contains common methods, forms,
and objects I use in other projects. It compiles as Foo.dll, which I...
|
by: Yaron |
last post by:
Hi,
I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
|
by: Peteroid |
last post by:
I was creating my application just fine for the last 3 weeks or so. Then,
starting this morning, IntelliSense seems to be having problems. It goes
into a locked 'Updating IntelliSense..." mode....
| |
by: danibecr |
last post by:
Hello again all,
I'v got a problem that I'm needing help on please. I have a form whos record source is a query. On this form I'v got a drop down error field, a remarks field, a check box and a...
|
by: gil |
last post by:
Hi,
I'm trying to find the best way to work with compiler warnings. I'd
like to remove *all* warnings from the code, and playing around with
the warning level, I've noticed that compiling with...
|
by: wal |
last post by:
Hello,
I'm using __declspec(property) to access get/set methods as properties
(like in C# and VB.NET). Now, the problem is that both the property
name and the get/set methods show in the...
|
by: Travis |
last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the
Intellisense for that program. I went to try Visual Basic, and the
intellisense is so much different. I'll try to make an...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |