Udostępnij za pośrednictwem


Metoda SetButtonText (String, String, String, String, String)

Ustawia tekst dla przycisków niestandardowy tekst, gdy tylko pięć przycisków są wyświetlane w polu komunikat o wyjątku.

Przestrzeń nazw:  Microsoft.SqlServer.MessageBox
Zestaw:  Microsoft.ExceptionMessageBox (w Microsoft.ExceptionMessageBox.dll)

Syntax

'Deklaracja
Public Sub SetButtonText ( _
    button1Text As String, _
    button2Text As String, _
    button3Text As String, _
    button4Text As String, _
    button5Text As String _
)
'Użycie
Dim instance As ExceptionMessageBox
Dim button1Text As String
Dim button2Text As String
Dim button3Text As String
Dim button4Text As String
Dim button5Text As String

instance.SetButtonText(button1Text, button2Text, _
    button3Text, button4Text, button5Text)
public void SetButtonText(
    string button1Text,
    string button2Text,
    string button3Text,
    string button4Text,
    string button5Text
)
public:
void SetButtonText(
    String^ button1Text, 
    String^ button2Text, 
    String^ button3Text, 
    String^ button4Text, 
    String^ button5Text
)
member SetButtonText : 
        button1Text:string * 
        button2Text:string * 
        button3Text:string * 
        button4Text:string * 
        button5Text:string -> unit 
public function SetButtonText(
    button1Text : String, 
    button2Text : String, 
    button3Text : String, 
    button4Text : String, 
    button5Text : String
)

Parameters