Description Attribute in Class Library (DLL) ?
- From: "JerryWEC" <JerryWEC@xxxxxxxxxxxxxxxxx>
- Date: Wed, 3 Jan 2007 15:53:11 -0500
How do you get the description to display in a calling application when you use a description attribute on your properties in a class library (DLL)?
I'm using the following code in my dll (class library)...
Imports System.ComponentModel
<Description("Operator Name Property."), Category("Action")> _
Public Property OperatorName() As String
Get
Try
Return m_OperatorName
Catch ex As Exception
ProcessException(ex)
Return Nothing
End Try
End Get
Set(ByVal value As String)
Try
m_OperatorName = value
Catch ex As Exception
ProcessException(ex)
End Try
End Set
End Property
is there another namespace to use or what is the story to get this to work?
JerryM
- Follow-Ups:
- RE: Description Attribute in Class Library (DLL) ?
- From: Linda Liu [MSFT]
- RE: Description Attribute in Class Library (DLL) ?
- Prev by Date: Re: Designer load error
- Next by Date: RE: Description Attribute in Class Library (DLL) ?
- Previous by thread: Re: Designer load error
- Next by thread: RE: Description Attribute in Class Library (DLL) ?
- Index(es):
Relevant Pages
|