开发者

when should I use the Webservice attribute System.ComponentModel.ToolboxItem(false)

When should we a开发者_StackOverflow社区dd this attribute to an asp.net webservice ?

[System.ComponentModel.ToolboxItem(false)]  


Not sure at all how this has to do with a webservice.

See the ToolboxItem at MSDN. The constructor you mentioned, is used to specify a default type of toolbox item typically for a custom control.

As in this example on MSDN you can use this attribute to customize how your UserControl shows on the Visual Studio toolbox.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜