Destroy() public static method

public static Destroy ( IntPtr ip ) : void
ip System.IntPtr
return void
Beispiel #1
0
 public void Destroy()
 {
     if (this.PropertiesToSet != IntPtr.Zero)
     {
         StoreOperationSetDeploymentMetadata.DestroyProperties(this.PropertiesToSet, (ulong)this.cPropertiesToSet.ToInt64());
         this.PropertiesToSet  = IntPtr.Zero;
         this.cPropertiesToSet = IntPtr.Zero;
     }
     if (this.PropertiesToTest != IntPtr.Zero)
     {
         StoreOperationSetDeploymentMetadata.DestroyProperties(this.PropertiesToTest, (ulong)this.cPropertiesToTest.ToInt64());
         this.PropertiesToTest  = IntPtr.Zero;
         this.cPropertiesToTest = IntPtr.Zero;
     }
     if (this.InstallerReference != IntPtr.Zero)
     {
         StoreApplicationReference.Destroy(this.InstallerReference);
         this.InstallerReference = IntPtr.Zero;
     }
 }
 public void Destroy()
 {
     StoreApplicationReference.Destroy(this.Reference);
 }