ToolboxItemWrapper Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ToolboxItemWrapper class.
Overloads
ToolboxItemWrapper() |
Initializes a new instance of the ToolboxItemWrapper class. |
ToolboxItemWrapper(Type) |
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool. |
ToolboxItemWrapper(Type, String) |
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and a specified display name. |
ToolboxItemWrapper(Type, String, String) |
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and specified names for the bitmap and display. |
ToolboxItemWrapper(String, String, String, String) |
Initializes a new instance of the ToolboxItemWrapper class with specified names for the tool, assembly, bitmap, and display. |
ToolboxItemWrapper()
Initializes a new instance of the ToolboxItemWrapper class.
public:
ToolboxItemWrapper();
public ToolboxItemWrapper ();
Public Sub New ()
Remarks
The parameterless constructor initializes the ToolName, AssemblyName, BitmapName, and DisplayName properties with an empty string
.
Applies to
ToolboxItemWrapper(Type)
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool.
public:
ToolboxItemWrapper(Type ^ toolType);
public ToolboxItemWrapper (Type toolType);
new System.Activities.Presentation.Toolbox.ToolboxItemWrapper : Type -> System.Activities.Presentation.Toolbox.ToolboxItemWrapper
Public Sub New (toolType As Type)
Parameters
- toolType
- Type
The type of the tool.
Remarks
The ToolName and AssemblyName properties can be extracted from the toolType
parameter. The BitmapName and DisplayName properties are each initialized with an empty string
.
Applies to
ToolboxItemWrapper(Type, String)
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and a specified display name.
public:
ToolboxItemWrapper(Type ^ toolType, System::String ^ displayName);
public ToolboxItemWrapper (Type toolType, string displayName);
new System.Activities.Presentation.Toolbox.ToolboxItemWrapper : Type * string -> System.Activities.Presentation.Toolbox.ToolboxItemWrapper
Public Sub New (toolType As Type, displayName As String)
Parameters
- toolType
- Type
The type of the tool.
- displayName
- String
The name of the display.
Remarks
The ToolName and AssemblyName properties can be extracted from the toolType
parameter. The BitmapName property is initialized with an empty string
.
Applies to
ToolboxItemWrapper(Type, String, String)
Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and specified names for the bitmap and display.
public:
ToolboxItemWrapper(Type ^ toolType, System::String ^ bitmapName, System::String ^ displayName);
public ToolboxItemWrapper (Type toolType, string bitmapName, string displayName);
new System.Activities.Presentation.Toolbox.ToolboxItemWrapper : Type * string * string -> System.Activities.Presentation.Toolbox.ToolboxItemWrapper
Public Sub New (toolType As Type, bitmapName As String, displayName As String)
Parameters
- toolType
- Type
The type of the tool.
- bitmapName
- String
A string
that contains the name of the bitmap.
- displayName
- String
A string
that contains the name of the display.
Remarks
The ToolName and AssemblyName properties can be extracted from the toolType
parameter.
Applies to
ToolboxItemWrapper(String, String, String, String)
Initializes a new instance of the ToolboxItemWrapper class with specified names for the tool, assembly, bitmap, and display.
public:
ToolboxItemWrapper(System::String ^ toolName, System::String ^ assemblyName, System::String ^ bitmapName, System::String ^ displayName);
public ToolboxItemWrapper (string toolName, string assemblyName, string bitmapName, string displayName);
new System.Activities.Presentation.Toolbox.ToolboxItemWrapper : string * string * string * string -> System.Activities.Presentation.Toolbox.ToolboxItemWrapper
Public Sub New (toolName As String, assemblyName As String, bitmapName As String, displayName As String)
Parameters
- toolName
- String
The name of the tool.
- assemblyName
- String
The name of the assembly.
- bitmapName
- String
The name of the bitmap.
- displayName
- String
The name of the display.