Constants.vbDefaultButton2 필드

정의

메시지 상자가 나타날 때 왼쪽에서 두 번째 단추가 기본 단추로 선택됨을 나타냅니다.

public: Microsoft::VisualBasic::MsgBoxStyle vbDefaultButton2 = 256;
public const Microsoft.VisualBasic.MsgBoxStyle vbDefaultButton2 = 256;
val mutable vbDefaultButton2 : Microsoft.VisualBasic.MsgBoxStyle
Public Const vbDefaultButton2 As MsgBoxStyle  = 256

필드 값

Value = 256

예제

' Set the Retry button as the default button.
MsgBox("Error occurred", vbDefaultButton2 Or vbAbortRetryIgnore)

설명

호출 하는 경우는 MsgBox 함수를 사용할 수는 MsgBoxStyle 실제 값 대신 코드의 열거형입니다. 합니다 Buttons 인수는 MsgBoxStyle 열거형 멤버입니다.

적용 대상

추가 정보