CueBanner.SetCueBanner Method (ComboBox, String)
Defines a method that checks the ComboBox control to call the correct method.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Sub SetCueBanner ( _
comboBox As ComboBox, _
text As String _
)
'Usage
Dim comboBox As ComboBox
Dim text As String
CueBanner.SetCueBanner(comboBox, text)
public static void SetCueBanner(
ComboBox comboBox,
string text
)
public:
static void SetCueBanner(
ComboBox^ comboBox,
String^ text
)
static member SetCueBanner :
comboBox:ComboBox *
text:string -> unit
public static function SetCueBanner(
comboBox : ComboBox,
text : String
)
Parameters
- comboBox
Type: System.Windows.Forms.ComboBox
The ComboBox to be checked.
- text
Type: System.String
The cue banner text. To remove the cue banner, pass null