Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 ModelingToolboxItem class from the specified information.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public 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, _
prototype As ElementGroupPrototype, _
toolboxFilters As ICollection _
)
public ModelingToolboxItem(
string id,
int position,
string displayName,
Bitmap bitmap,
string tabNameId,
string tabName,
string f1Keyword,
string tooltip,
ElementGroupPrototype prototype,
ICollection toolboxFilters
)
public:
ModelingToolboxItem(
String^ id,
int position,
String^ displayName,
Bitmap^ bitmap,
String^ tabNameId,
String^ tabName,
String^ f1Keyword,
String^ tooltip,
ElementGroupPrototype^ prototype,
ICollection^ toolboxFilters
)
new :
id:string *
position:int *
displayName:string *
bitmap:Bitmap *
tabNameId:string *
tabName:string *
f1Keyword:string *
tooltip:string *
prototype:ElementGroupPrototype *
toolboxFilters:ICollection -> ModelingToolboxItem
public function ModelingToolboxItem(
id : String,
position : int,
displayName : String,
bitmap : Bitmap,
tabNameId : String,
tabName : String,
f1Keyword : String,
tooltip : String,
prototype : ElementGroupPrototype,
toolboxFilters : ICollection
)
Parameters
id
Type: System.StringThe identifier for this toolbox item.
position
Type: System.Int32The zero-based index of this toolbox item on the DSL tab in the generated designer.
displayName
Type: System.StringThe localized display name for this toolbox item.
bitmap
Type: System.Drawing.BitmapThe 8-bit bitmap that represents this toolbox item in the Toolbox.
tabNameId
Type: System.StringThe identifier for the Toolbox tab with which this toolbox item is associated.
The identifier for the Toolbox tab with which this toolbox item is associated.
tabName
Type: System.StringThe localized name of the Toolbox tab with which this toolbox item is associated.
f1Keyword
Type: System.StringThe F1 keyword for the Help topic associated with this toolbox item.
tooltip
Type: System.StringThe tooltip text for this toolbox item.
prototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototypeThe information required to create an ElementGroup for this toolbox item.
toolboxFilters
Type: System.Collections.ICollectionA collection of ToolboxItemFilterAttribute attributes to apply to this toolbox item.