Method ToIntPtr ToIntPtr() Gets the handle as an IntPtr suitable for passing to native code Declaration public IntPtr ToIntPtr() Returns IntPtr The handle as an IntPtr