Freigeben über


ModelingToolboxItemBase Constructor (String, Int32, String, Bitmap, String, String, String, String, ICollection)

Initializes a new instance of the ModelingToolboxItemBase class.

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

Syntax

'Declaration
Protected Sub New ( _
    id As String, _
    position As Integer, _
    displayName As String, _
    bitmap As Bitmap, _
    tabNameId As String, _
    tabName As String, _
    f1Keyword As String, _
    tooltip As String, _
    toolboxFilters As ICollection _
)
protected ModelingToolboxItemBase(
    string id,
    int position,
    string displayName,
    Bitmap bitmap,
    string tabNameId,
    string tabName,
    string f1Keyword,
    string tooltip,
    ICollection toolboxFilters
)
protected:
ModelingToolboxItemBase(
    String^ id, 
    int position, 
    String^ displayName, 
    Bitmap^ bitmap, 
    String^ tabNameId, 
    String^ tabName, 
    String^ f1Keyword, 
    String^ tooltip, 
    ICollection^ toolboxFilters
)
new : 
        id:string * 
        position:int * 
        displayName:string * 
        bitmap:Bitmap * 
        tabNameId:string * 
        tabName:string * 
        f1Keyword:string * 
        tooltip:string * 
        toolboxFilters:ICollection -> ModelingToolboxItemBase
protected function ModelingToolboxItemBase(
    id : String, 
    position : int, 
    displayName : String, 
    bitmap : Bitmap, 
    tabNameId : String, 
    tabName : String, 
    f1Keyword : String, 
    tooltip : String, 
    toolboxFilters : ICollection
)

Parameters

  • id
    Type: System.String
    A string used to uniquely identify this toolbox item and prevent duplicates.
  • position
    Type: System.Int32
    An integer used to sort and position the toolbox item in the tab (0 is top).
  • displayName
    Type: System.String
    Name displayed in the toolbox. Should be localized.
  • tabNameId
    Type: System.String
    Non-localized Name id of the tab to contain this toolbox item. Should be localized.
  • tabName
    Type: System.String
    Name of the tab to contain this toolbox item. Should be localized.
  • f1Keyword
    Type: System.String
    The F1 help keyword for this toolbox item
  • tooltip
    Type: System.String
    The tooltip to be shown for this item
  • toolboxFilters
    Type: System.Collections.ICollection
    Collection of ToolboxItemFilterAttributes to determine enabled/disabled state of items in the toolbox.

.NET Framework Security

See Also

Reference

ModelingToolboxItemBase Class

ModelingToolboxItemBase Overload

Microsoft.VisualStudio.Modeling.Design Namespace