ResultClose() private method

private ResultClose ( IntPtr handle ) : void
handle System.IntPtr
return void
コード例 #1
0
 /// <summary>
 /// Closes the Cursor
 /// </summary>
 /// <remarks>
 /// This method wraps the native uqi_result_close function.
 /// <br />
 /// Closes this Result and frees allocated memory.
 /// </remarks>
 public void Close()
 {
     if (handle == IntPtr.Zero)
     {
         return;
     }
     NativeMethods.ResultClose(handle);
     handle = IntPtr.Zero;
 }