InformationPanelMessage Constructor (String, ToolTipIcon)
Initializes a new instance of the InformationPanelMessage class with the specified text and icon.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
text As String, _
icon As ToolTipIcon _
)
'Usage
Dim text As String
Dim icon As ToolTipIcon
Dim instance As New InformationPanelMessage(text, icon)
public InformationPanelMessage(
string text,
ToolTipIcon icon
)
public:
InformationPanelMessage(
String^ text,
ToolTipIcon icon
)
new :
text:string *
icon:ToolTipIcon -> InformationPanelMessage
public function InformationPanelMessage(
text : String,
icon : ToolTipIcon
)
Parameters
- text
Type: System.String
A string that represents the text of the control.
- icon
Type: System.Windows.Forms.ToolTipIcon
A type of icon to be displayed alongside the ToolTipIcon.