core_PCA_delete() private method

private core_PCA_delete ( IntPtr obj ) : void
obj IntPtr
return void
示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected override void Dispose(bool disposing)
 {
     if (!disposed)
     {
         try
         {
             if (disposing)
             {
             }
             if (ptr != IntPtr.Zero)
             {
                 NativeMethods.core_PCA_delete(ptr);
                 ptr = IntPtr.Zero;
             }
             disposed = true;
         }
         finally
         {
             base.Dispose(disposing);
         }
     }
 }
示例#2
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.core_PCA_delete(ptr);
     base.DisposeUnmanaged();
 }
示例#3
0
 /// <summary>
 /// Releases unmanaged resources
 /// </summary>
 protected override void DisposeUnmanaged()
 {
     NativeMethods.HandleException(
         NativeMethods.core_PCA_delete(ptr));
     base.DisposeUnmanaged();
 }