Share via


ModelingToolboxItem Class

Represents a toolbox item generated in the Domain-Specific Language Tools (DSL Tools).

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class ModelingToolboxItem _
    Inherits ToolboxItem
'Usage
Dim instance As ModelingToolboxItem
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class ModelingToolboxItem : ToolboxItem
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class ModelingToolboxItem : public ToolboxItem
public class ModelingToolboxItem extends ToolboxItem

Remarks

This class provides standard toolbox item information, and also information to add to the diagram when a user of the DSL drags an item from the toolbox to the design surface. The DSL Tools generate these toolbox items from the DSL definition. You can create additional toolbox items in your code.

Inheritance Hierarchy

System.Object
  System.Drawing.Design.ToolboxItem
    Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItem

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ModelingToolboxItem Members

Microsoft.VisualStudio.Modeling.Design Namespace

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.