473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Problem with DescriptionAttribute

I've used the Description attribute throughout assembly classes; class;
methods; enums, etc. My problem is that the descriptions use to show up in
the object browser and now they don't. To confirm I tried a simple test
assem with same problem. So why & help!

Imports System.ComponentModel

<Description("Test component")> _
Public Class Class1
<Description("Test method1")> _
Public Sub Method1()
End Sub
End Class

Using .Net2003 & framework 1.1
Brad
Nov 20 '05 #1
3 1405
* "Brad" <no****@co.lane.or.us> scripsit:
I've used the Description attribute throughout assembly classes; class;
methods; enums, etc. My problem is that the descriptions use to show up in
the object browser and now they don't. To confirm I tried a simple test
assem with same problem. So why & help!


For VB.NET 2002/2003:

My XML Comments FAQ:

VB Commenter
<http://www.gotdotnet.com/team/ide/>
-> section "VB Commenter"

XML Documentation
<http://www.gotdotnet.com/team/vb/>
-> section "XML Documentation"

VBXC - VB.NET XML Commentor
<http://vbxmldoc.tor-erik.net/index.shtml>

NDOC (formerly DOC.NET)
<http://ndoc.sourceforge.net/>

VB.DOC
<http://vb-doc.sourceforge.net/>

<http://www.gotdotnet.com/Community/Workspaces/Workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Thanks for the info on your add-ins. At this time I'm looking for an
explanation as to why the built in attribute is not working.

Brad
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bp*************@ID-208219.news.uni-berlin.de...
* "Brad" <no****@co.lane.or.us> scripsit:
I've used the Description attribute throughout assembly classes; class;
methods; enums, etc. My problem is that the descriptions use to show up in the object browser and now they don't. To confirm I tried a simple test
assem with same problem. So why & help!
For VB.NET 2002/2003:

My XML Comments FAQ:

VB Commenter
<http://www.gotdotnet.com/team/ide/>
-> section "VB Commenter"

XML Documentation
<http://www.gotdotnet.com/team/vb/>
-> section "XML Documentation"

VBXC - VB.NET XML Commentor
<http://vbxmldoc.tor-erik.net/index.shtml>

NDOC (formerly DOC.NET)
<http://ndoc.sourceforge.net/>

VB.DOC
<http://vb-doc.sourceforge.net/>

<http://www.gotdotnet.com/Community/W...id=112b5449-f7
02-46e2-87fa-86bdf39a17dd>
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3
Hi Brad,

Here is what the MSDN said about DescriptionAttribute Class for
ComponentModel
Specifies a description for a PROPERTY or EVENT.

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemComponentModelDescriptionAttributeClass Topic.asp

What you see in Object Browser is the summary XML Comments.
It is C#'s feature now.
C# Programmer's Reference
<summary>
<summary>description</summary>
http://msdn.microsoft.com/library/de...us/csref/html/
vclrfsummary.asp

But Visual Basic .NET doesn't support XML Comments in the IDE currently,
but we will in the future. There is an add-in that you can use
today, check it out at:
http://msdn.microsoft.com/library/de...us/dnvssamp/ht
ml/vbcs_XMLComments.asp
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #4

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

Similar topics

117
by: Peter Olcott | last post by:
www.halting-problem.com
3
by: David Coleman | last post by:
Hi All, Can anyone tell me how to add the equivalent of DescriptionAttribute for Properties to a public class Method and its passed parameters so it is displayed through intellisense. Have found...
0
by: David Coleman | last post by:
Hello all, I use DescriptionAttribute on Properties in my user controls. Works like a treat. I would like to show Method and Parameters intellisense descriptions in my public class Methods. So...
1
by: Zembaliti | last post by:
The description specified by is displayed in the property browser in the VS.NET Designer. But if the mouse is over the property's text in the VS.NET editor, the tooltip only displays the...
0
by: Vladimir.Sakharuk | last post by:
I have created ExpandableObjectConverter in C#. for use in System.Windows.Forms.PropertyGrid. The property grid shows the DiffItem is a object that holds member TheItem. without expanding...
1
by: RickH | last post by:
..Cells(1,y).GetType ownly shows instead of .Value, .Copy, etc. The code below is derived from samples, it should work, but I've messed up somewhere... Imports System.Windows.Forms Imports...
0
by: Kamal | last post by:
Really appreciate any help related to this. How do we get the description attribute value. It is not working. Please let me know if anything wrong in this. Thanks for your help. private...
5
by: =?Utf-8?B?U3RldmVU?= | last post by:
I am using in my code. I want to be able to reference a text string within my "Resource file" like this: . The issue is that Description requires a constant string. Is there anyway to...
0
by: sandeepkavade | last post by:
Hi, I am basically a VC++ developer but now working on C#. I am having a assembly in that i have added a UserControl and on that UserControl I am having a tree-view control and Property Grid...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
tracyyun
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...
0
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,...
0
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...

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.