Share via


CueBanner.SetCueBanner Method (ToolStripComboBox, String)

Defines the cue banner text for the specified ToolStripComboBox.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Shared Sub SetCueBanner ( _
    toolStripComboBox As ToolStripComboBox, _
    text As String _
)
'Usage
Dim toolStripComboBox As ToolStripComboBox
Dim text As String

CueBanner.SetCueBanner(toolStripComboBox, _
    text)
public static void SetCueBanner(
    ToolStripComboBox toolStripComboBox,
    string text
)
public:
static void SetCueBanner(
    ToolStripComboBox^ toolStripComboBox, 
    String^ text
)
static member SetCueBanner : 
        toolStripComboBox:ToolStripComboBox * 
        text:string -> unit 
public static function SetCueBanner(
    toolStripComboBox : ToolStripComboBox, 
    text : String
)

Parameters

  • text
    Type: System.String
    Cue banner text. To remove the cue banner, pass null.