言語

DrawItemEventArgs.IDeviceContext.GetHdc メソッド

定義

Windows デバイス コンテキストへのハンドルを返します。

 virtual IntPtr System.Drawing.IDeviceContext.GetHdc() = System::Drawing::IDeviceContext::GetHdc;
IntPtr IDeviceContext.GetHdc();
abstract member System.Drawing.IDeviceContext.GetHdc : unit -> nativeint
override this.System.Drawing.IDeviceContext.GetHdc : unit -> nativeint
Function GetHdc () As IntPtr Implements IDeviceContext.GetHdc

返品

IntPtr

nativeint

デバイス コンテキストのハンドルを表す IntPtr

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 DrawItemEventArgs インスタンスがIDeviceContext インターフェイスにキャストされている場合にのみ使用できます。

適用対象