This documentation is archived and is not being maintained.
ToolboxItem Methods
Visual Studio 2010
The ToolboxItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
CheckUnlocked | Throws an exception if the toolbox item is currently locked. |
|
CreateComponents() | Creates the components that the toolbox item is configured to create. |
|
CreateComponents(IDesignerHost) | Creates the components that the toolbox item is configured to create, using the specified designer host. |
|
CreateComponents(IDesignerHost, IDictionary) | Creates the components that the toolbox item is configured to create, using the specified designer host and default values. |
|
CreateComponentsCore(IDesignerHost) | Creates a component or an array of components when the toolbox item is invoked. |
|
CreateComponentsCore(IDesignerHost, IDictionary) | Creates an array of components when the toolbox item is invoked. |
|
Deserialize | Loads the state of the toolbox item from the specified serialization information object. |
|
Equals | Determines whether two ToolboxItem instances are equal. (Overrides Object::Equals(Object).) |
|
FilterPropertyValue | Filters a property value before returning it. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Returns the hash code for this instance. (Overrides Object::GetHashCode().) |
|
GetType() | Gets the Type of the current instance. (Inherited from Object.) |
|
GetType(IDesignerHost) | Enables access to the type associated with the toolbox item. |
|
GetType(IDesignerHost, AssemblyName, String, Boolean) | Creates an instance of the specified type, optionally using a specified designer host and assembly name. |
|
Initialize | Initializes the current toolbox item with the specified type to create. |
|
Lock | Locks the toolbox item and prevents changes to its properties. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnComponentsCreated | Raises the ComponentsCreated event. |
|
OnComponentsCreating | Raises the ComponentsCreating event. |
|
Serialize | Saves the state of the toolbox item to the specified serialization information object. |
|
ToString | Returns a String that represents the current ToolboxItem. (Overrides Object::ToString().) |
|
ValidatePropertyType | Validates that an object is of a given type. |
|
ValidatePropertyValue | Validates a property before it is assigned to the property dictionary. |
| Name | Description | |
|---|---|---|
|
ISerializable::GetObjectData | For a description of this member, see the GetObjectData method. |
Show: