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

前端 未结 1 619
南方客
南方客 2021-01-19 11:37

When should we add this attribute to an asp.net webservice ?

[System.ComponentModel.ToolboxItem(false)]  
相关标签:
1条回答
  • 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 讨论(0)
提交回复
热议问题