This documentation is archived and is not being maintained.

ToolboxItem Methods

The ToolboxItem type exposes the following members.

Protected method CheckUnlocked Throws an exception if the toolbox item is currently locked.
Public method CreateComponents Overloaded. Creates the components that the toolbox item is configured to create.
Protected method CreateComponentsCore Overloaded. Creates a component or an array of components when the toolbox item is invoked.
Protected method Deserialize Loads the state of the toolbox item from the specified serialization information object.
Public method Equals Determines whether two ToolboxItem instances are equal. (Overrides Object.Equals(Object).)
Protected method FilterPropertyValue Filters a property value before returning it.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetType Overloaded. Creates an instance of the specified type.
Public method Initialize Initializes the current toolbox item with the specified type to create.
Public method Lock Locks the toolbox item and prevents changes to its properties.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnComponentsCreated Raises the ComponentsCreated event.
Protected method OnComponentsCreating Raises the ComponentsCreating event.
Protected method Serialize Saves the state of the toolbox item to the specified serialization information object.
Public method ToString Returns a String that represents the current ToolboxItem. (Overrides Object.ToString().)
Protected method ValidatePropertyType Validates that an object is of a given type.
Protected method ValidatePropertyValue Validates a property before it is assigned to the property dictionary.

Explicit interface implemetation Private method ISerializable.GetObjectData For a description of this member, see the GetObjectData method.