Beispiel #1
0
 public void Dispose()
 {
     if (CoreObject.GetPointer() != IntPtr.Zero)
     {
         CoreObjectBase.SDK_VIUnknown_Release(CoreObject.GetPointer());
         CoreObject.SetPointer(IntPtr.Zero);
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     if (CoreObject.Pointer != IntPtr.Zero)
     {
         CoreObjectBase.SDK_VIUnknown_Release(CoreObject.Pointer);
         CoreObject.Pointer = IntPtr.Zero;
     }
 }