다음을 통해 공유


Menu.Handle 속성

메뉴의 창 핸들을 나타내는 값을 가져옵니다.

네임스페이스: System.Windows.Forms
어셈블리: System.Windows.Forms(system.windows.forms.dll)

구문

‘선언
Public ReadOnly Property Handle As IntPtr
‘사용 방법
Dim instance As Menu
Dim value As IntPtr

value = instance.Handle
public IntPtr Handle { get; }
public:
property IntPtr Handle {
    IntPtr get ();
}
/** @property */
public IntPtr get_Handle ()
public function get Handle () : IntPtr

속성 값

메뉴의 HMENU 값입니다.

설명

이 속성을 사용하면 이 클래스 또는 파생 클래스에서 제공되는 기능 이외의 특별한 메뉴 작업을 수행하기 위한 메뉴 핸들을 가져올 수 있습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

참고 항목

참조

Menu 클래스
Menu 멤버
System.Windows.Forms 네임스페이스