ModelingToolboxItemBase Constructor (String, Int32, String, Bitmap, String, String, String, String, ICollection)
This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.
[SECURITY CRITICAL]
Initializes a new instance of the ModelingToolboxItemBase class.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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: StringA string used to uniquely identify this toolbox item and prevent duplicates.
position
Type: Int32An integer used to sort and position the toolbox item in the tab (0 is top).
displayName
Type: StringName displayed in the toolbox. Should be localized.
bitmap
Type: BitmapBitmap displayed in toolbox. Must be an 8-bit image.
tabNameId
Type: StringNon-localized Name id of the tab to contain this toolbox item. Should be localized.
tabName
Type: StringName of the tab to contain this toolbox item. Should be localized.
f1Keyword
Type: StringThe F1 help keyword for this toolbox item
tooltip
Type: StringThe tooltip to be shown for this item
toolboxFilters
Type: ICollectionCollection of ToolboxItemFilterAttributes to determine enabled/disabled state of items in the toolbox.