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 接口时使用。

适用于