public CharVector GetRange(int index, int count) { IntPtr intPtr = AppUtilPINVOKE.CharVector_GetRange(this.swigCPtr, index, count); CharVector result = (!(intPtr == IntPtr.Zero)) ? new CharVector(intPtr, true) : null; if (AppUtilPINVOKE.SWIGPendingException.Pending) { throw AppUtilPINVOKE.SWIGPendingException.Retrieve(); } return(result); }