Share via


ModelingToolboxItemBase Constructors

Definition

Overloads

ModelingToolboxItemBase(SerializationInfo, StreamingContext)

Serialization constructor.

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

Initializes a new instance of the ModelingToolboxItemBase class.

ModelingToolboxItemBase(SerializationInfo, StreamingContext)

Serialization constructor.

protected:
 ModelingToolboxItemBase(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ModelingToolboxItemBase (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Applies to

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

Initializes a new instance of the ModelingToolboxItemBase class.

protected:
 ModelingToolboxItemBase(System::String ^ id, int position, System::String ^ displayName, System::Drawing::Bitmap ^ bitmap, System::String ^ tabNameId, System::String ^ tabName, System::String ^ f1Keyword, System::String ^ tooltip, System::Collections::ICollection ^ toolboxFilters);
protected ModelingToolboxItemBase (string id, int position, string displayName, System.Drawing.Bitmap bitmap, string tabNameId, string tabName, string f1Keyword, string tooltip, System.Collections.ICollection toolboxFilters);
new Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase : string * int * string * System.Drawing.Bitmap * string * string * string * string * System.Collections.ICollection -> Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase
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)

Parameters

id
String

A string used to uniquely identify this toolbox item and prevent duplicates.

position
Int32

An integer used to sort and position the toolbox item in the tab (0 is top).

displayName
String

Name displayed in the toolbox. Should be localized.

bitmap
Bitmap

Bitmap displayed in toolbox. Must be an 8-bit image.

tabNameId
String

Non-localized Name id of the tab to contain this toolbox item. Should be localized.

tabName
String

Name of the tab to contain this toolbox item. Should be localized.

f1Keyword
String

The F1 help keyword for this toolbox item

tooltip
String

The tooltip to be shown for this item

toolboxFilters
ICollection

Collection of ToolboxItemFilterAttributes to determine enabled/disabled state of items in the toolbox.

Applies to