public static vtkAbstractArray CreateArray(int dataType) { vtkAbstractArray vtkAbstractArray = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkAbstractArray.vtkAbstractArray_CreateArray_05(dataType, ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkAbstractArray = (vtkAbstractArray)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkAbstractArray.Register(null); } } return(vtkAbstractArray); }