CueBanner.SetCueBanner Method (TextBoxBase, String)
Defines the cue banner text for the specified text box.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Sub SetCueBanner ( _
textBox As TextBoxBase, _
text As String _
)
'Usage
Dim textBox As TextBoxBase
Dim text As String
CueBanner.SetCueBanner(textBox, text)
public static void SetCueBanner(
TextBoxBase textBox,
string text
)
public:
static void SetCueBanner(
TextBoxBase^ textBox,
String^ text
)
static member SetCueBanner :
textBox:TextBoxBase *
text:string -> unit
public static function SetCueBanner(
textBox : TextBoxBase,
text : String
)
Parameters
- textBox
Type: System.Windows.Forms.TextBoxBase
The TextBoxBase control.
- text
Type: System.String
The cue banner text. To remove the cue banner, pass null.