TreeViewDropDownButton Constructor (String, Image)
Initializes a new instance of the TreeViewDropDownButton class with the specified text and image.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
text As String, _
image As Image _
)
'Usage
Dim text As String
Dim image As Image
Dim instance As New TreeViewDropDownButton(text, image)
public TreeViewDropDownButton(
string text,
Image image
)
public:
TreeViewDropDownButton(
String^ text,
Image^ image
)
new :
text:string *
image:Image -> TreeViewDropDownButton
public function TreeViewDropDownButton(
text : String,
image : Image
)
Parameters
- text
Type: System.String
A string passed by reference that represents the text value of the drop-down button.
- image
Type: System.Drawing.Image
An [Image] passed by reference that represents the icon of the tree view drop-down button.