473,569 Members | 2,984 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Adding special comments

Hi
I have a maybe simple question, but anyway, when I use the.Net framework
there are lots of very usfull comments while seting properties to objects.
(the little yellow box on the secound linethere is something like "Str1: The
string to search for")

Now my question is, can you ad this type of comments to your own objects you
create, and how?
Nov 21 '05 #1
4 1261
Hi Rotkiv,

yes you can.

You have to use the System.Componen tModel namespace to put special
properties to your controls. For example:

<System.Compone ntModel.categor y("Messages") ,
System.Componen tModel.Descript ion("Get the value of your message")> _
Public Shared Function Message() As String
....

I hope that helps.

Best regards,

Jorge Serrano Pérez
MVP VB.NET
"Rotkiv Namego" wrote:
Hi
I have a maybe simple question, but anyway, when I use the.Net framework
there are lots of very usfull comments while seting properties to objects.
(the little yellow box on the secound linethere is something like "Str1: The
string to search for")

Now my question is, can you ad this type of comments to your own objects you
create, and how?

Nov 21 '05 #2
Namego,

"Rotkiv Namego" <Rotkiv Na****@discussi ons.microsoft.c om> schrieb:
I have a maybe simple question, but anyway, when I use the.Net framework
there are lots of very usfull comments while seting properties to objects.
(the little yellow box on the secound linethere is something like "Str1:
The
string to search for")


Adding IntelliSense tooltips, XML comments, and documentation
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=tooltipsxml documentation&l ang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
How do you add comments for the function parameters that show up in
Intellisense?

"Jorge Serrano [MVP VB]" wrote:
Hi Rotkiv,

yes you can.

You have to use the System.Componen tModel namespace to put special
properties to your controls. For example:

<System.Compone ntModel.categor y("Messages") ,
System.Componen tModel.Descript ion("Get the value of your message")> _
Public Shared Function Message() As String
...

I hope that helps.

Best regards,

Jorge Serrano Pérez
MVP VB.NET
"Rotkiv Namego" wrote:
Hi
I have a maybe simple question, but anyway, when I use the.Net framework
there are lots of very usfull comments while seting properties to objects.
(the little yellow box on the secound linethere is something like "Str1: The
string to search for")

Now my question is, can you ad this type of comments to your own objects you
create, and how?

Nov 21 '05 #4
"Dennis" <De****@discuss ions.microsoft. com> schrieb:
How do you add comments for the function parameters that show up in
Intellisense?


.... by reading the reply I gave you :-).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1667
by: Thomas Weholt | last post by:
Hi, I want to add methods to a class instance at run-time based on a base method, but modify one of the existing ( or add if possible ) params of the base method. Say a class like this : class A: def __init__(self): self.obj1() # some dummy object having a name attribute
125
14597
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
1
2437
by: Jay Sartoris | last post by:
Hi, I'm adding a node to my XML document using DOM. When I serialize it, I lose my comments that are above my root node. I've created an OutputFormat obect and set the setOmitComments(false) but it still removes the comments between my DOCTYPE tag and my root tag. I'm pretty sure that the reason is that only the text within the root tags...
8
2176
by: nicolas.sanguinetti | last post by:
Hi, I want to add custom attributes to my xhtml documents to use with my DOM scripts. For example, I want to have some tags -say, the <h1>- have an attribute and a . The thing is that I also want the document to validate against xhtml 1.1 :-) How can I define a Schema (and embed it in my xhtml) to expand XHTML default and add this...
1
2573
by: LellD | last post by:
It seems not unusual for me that I have special chars like < (less than) or > (greater than) in C# comments, especially in <code> sections. For instance, <code> if(a<b) c=3; </code> should be a valid comment, but the '<' in the if statement is treated as beginning of a new XML token and leads to a compiler warning. Do you have any idea how I...
1
1727
by: Max | last post by:
Searched all over google and can't seem to find how to do this. How do I go about adding comments about my own functions and sub-procedures? Like when I use them, the tool-tip tells me more then just how it was declared?
38
4513
by: Astra | last post by:
Hi All Could somebody please confirm that if I change my JS expression test from: if (!(/^*$/.test(document.form1.fred.value))) to if (!(/^*$/.test(document.form1.fred.value)))
12
1592
by: Bob Jones | last post by:
I have an odd business requirement and I think that the implementation is not correct in the terms of OOP development. Any help on the concepts would be very appreciated! We currently have a custom Page object which is derived from the base Page object. We also have custom controls that derive from a base class that performs custom drawing...
1
1590
by: clemenslinders | last post by:
Adding comments aka QuickInfo to intellisense: On this forum I found in it's history the following thread: http://www.thescripts.com/forum/thread254408.html Someone also wanted to add comments to his methods that would show up using intellisense. In the above mentioned thread Relaxin mentions: > /// <summary> > /// Adds string to...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6290
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3662
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.