public new vtkUTF16TextCodec NewInstance()
        {
            vtkUTF16TextCodec result = null;
            uint   mteStatus         = 0u;
            uint   mteIndex          = 4294967295u;
            uint   rawRefCount       = 0u;
            IntPtr intPtr            = vtkUTF16TextCodec.vtkUTF16TextCodec_NewInstance_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkUTF16TextCodec)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public new static vtkUTF16TextCodec SafeDownCast(vtkObjectBase o)
        {
            vtkUTF16TextCodec vtkUTF16TextCodec = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkUTF16TextCodec.vtkUTF16TextCodec_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkUTF16TextCodec = (vtkUTF16TextCodec)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkUTF16TextCodec.Register(null);
                }
            }
            return(vtkUTF16TextCodec);
        }