ToolboxService.IsItemContainerSupported Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the toolbox item container is supported by the given designer host.
protected:
bool IsItemContainerSupported(System::Drawing::Design::ToolboxItemContainer ^ container, System::ComponentModel::Design::IDesignerHost ^ host);
protected bool IsItemContainerSupported (System.Drawing.Design.ToolboxItemContainer container, System.ComponentModel.Design.IDesignerHost host);
member this.IsItemContainerSupported : System.Drawing.Design.ToolboxItemContainer * System.ComponentModel.Design.IDesignerHost -> bool
Protected Function IsItemContainerSupported (container As ToolboxItemContainer, host As IDesignerHost) As Boolean
Parameters
- container
- ToolboxItemContainer
The toolbox item container.
- host
- IDesignerHost
The given designer host.
Returns
true
if the toolbox item container is supported by the given designer host; otherwise, false
.
Exceptions
container
or host
is null
.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.