Metoda SetButtonText (String, String)
Ta funkcja zostanie usunięta z przyszłej wersji programu Microsoft SQL Server. Należy unikać stosowania tej funkcji w nowych projektach oraz zaplanować modyfikację aplikacji, w których obecnie jest używana ta funkcja.Użyj SetButtonText zamiast.
Przestrzeń nazw: Microsoft.NetEnterpriseServers
Zestaw: Microsoft.NetEnterpriseServers.ExceptionMessageBox (w Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)
Syntax
'Deklaracja
Public Sub SetButtonText ( _
button1Text As String, _
button2Text As String _
)
'Użycie
Dim instance As ExceptionMessageBox
Dim button1Text As String
Dim button2Text As String
instance.SetButtonText(button1Text, button2Text)
public void SetButtonText(
string button1Text,
string button2Text
)
public:
void SetButtonText(
String^ button1Text,
String^ button2Text
)
member SetButtonText :
button1Text:string *
button2Text:string -> unit
public function SetButtonText(
button1Text : String,
button2Text : String
)
Parameters
- button1Text
Typ: System. . :: . .String
Tekst dla pierwszego przycisku niestandardowego.
- button2Text
Typ: System. . :: . .String
Tekst drugiego przycisku niestandardowego.
Zobacz także