ExceptionMessageBox.SetButtonText 方法 (String)
Sets the text for the custom text button when only one button is displayed in the exception message box.
命名空间: Microsoft.SqlServer.MessageBox
程序集: Microsoft.ExceptionMessageBox(在 Microsoft.ExceptionMessageBox.dll 中)
语法
声明
Public Sub SetButtonText ( _
button1Text As String _
)
用法
Dim instance As ExceptionMessageBox
Dim button1Text As String
instance.SetButtonText(button1Text)
public void SetButtonText(
string button1Text
)
public:
void SetButtonText(
String^ button1Text
)
member SetButtonText :
button1Text:string -> unit
public function SetButtonText(
button1Text : String
)
参数
- button1Text
类型:System.String
Text for the first custom button.