Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM attributes

Status
Not open for further replies.

VolkerStamme

Programmer
May 21, 2005
65
GB
I've created a little COM server in C# and it works fine. What I can't get to work is all the descriptive stuff for e.g. Intellisense on the client side, such as parameter description, helpstring for properties etc. Does anyone know how to create these? Thanks
 
[Description("This is my description"), DefaultValue(false)]
public EncodingType DocumentEncoding
{
get {return mDocumentEncoding;}
set {mDocumentEncoding = value;}
}


Haven't tested this.... you might want to give it a try though.
 
Thanks, looked very promising. Have tried it though in both the interface and the actual class and it still doesn't work. The settings simply won't make it into the typelib. [IMeanIt("yes")] doesn't help either ... ;o).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top