Share via


InformationPanelMessage Constructor (String, ToolTipIcon, Object)

Initializes a new instance of the InformationPanelMessage class with the specified text, icon, and tag.

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, _
    tag As Object _
)
'Usage
Dim text As String
Dim icon As ToolTipIcon
Dim tag As Object

Dim instance As New InformationPanelMessage(text, icon, _
    tag)
public InformationPanelMessage(
    string text,
    ToolTipIcon icon,
    Object tag
)
public:
InformationPanelMessage(
    String^ text, 
    ToolTipIcon icon, 
    Object^ tag
)
new : 
        text:string * 
        icon:ToolTipIcon * 
        tag:Object -> InformationPanelMessage
public function InformationPanelMessage(
    text : String, 
    icon : ToolTipIcon, 
    tag : Object
)

Parameters

  • text
    Type: System.String
    A string that represents the text of the control.
  • tag
    Type: System.Object
    The object that contains the data of the control.