다음을 통해 공유


Support.GetDefault(Button) 메서드

정의

주의

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

컨트롤이 폼의 기본 단추인지 여부를 Button 결정하는 값을 가져옵니다.

public:
 static bool GetDefault(System::Windows::Forms::Button ^ btn);
public static bool GetDefault(System.Windows.Forms.Button btn);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static bool GetDefault(System.Windows.Forms.Button btn);
static member GetDefault : System.Windows.Forms.Button -> bool
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member GetDefault : System.Windows.Forms.Button -> bool
Public Function GetDefault (btn As Button) As Boolean

매개 변수

btn
Button

컨트롤입니다 Button .

반환

기본 단추이면 />이고, 그렇지 않으면 .

특성

설명

이 함수는 .AcceptButtonForm

메모

네임스페이 Microsoft.VisualBasic.Compatibility.VB6 스의 함수 및 개체는 Visual Basic 6.0에서 Visual Basic 2008로 업그레이드하기 위한 도구에서 사용할 수 있도록 제공됩니다. 대부분의 경우 이러한 함수와 개체는 .NET Framework의 다른 네임스페이스에서 찾을 수 있는 기능을 복제합니다. Visual Basic 6.0 코드 모델이 .NET Framework 구현과 크게 다른 경우에만 필요합니다.

적용 대상