Indicates whether the item in the specified serialized object that is supported by the specified host is a ToolboxItem.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Function IsToolboxItem( _
ByVal serializedObject As System.Object, _
ByVal host As System.ComponentModel.Design.IDesignerHost _
) As System.Boolean |
C# | |
---|
public System.bool IsToolboxItem(
System.object serializedObject,
System.ComponentModel.Design.IDesignerHost host
) |
Parameters
- serializedObject
- The System.Object to check.
- host
- The System.ComponentModel.Design IDesignerHost interface associated with the ToolboxItem. (This is not available in Visual Studio 2008.)
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also