Hi,
There are actually two flavours of the Description attribute. One is from
the System.ComponentModel namespace and this is most likely the one you've
tried. You can therefore try the other one residing in the
System.EnterpriseServices class.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"Kimmo Laine" <reply.to@newsgroup> wrote in message
news:eh*************@TK2MSFTNGP10.phx.gbl...
Hi,
back in the COM days, i could write something like this, in IDL:
[id(1), helpstring("My Foo function")]
HRESULT Foo();
and later in (e.g.) VBs object browser, my description would apper when i
see the details for Foo.
How can i do that in C#?
[Description("My Foo function")]
public void Foo() {}
This donīt work
thx
Kimmo Laine