public void Update(ref QHDummyBin QHDummyBin) { object[] results = this.Invoke("Update", new object[] { QHDummyBin }); QHDummyBin = ((QHDummyBin)(results[0])); }