protected override bool ReleaseHandle() { // The reference implementation (Java) ignores return codes // from this function call, so we will too. if (!IsInvalid) { NativeMethods.wdFreeString(handle); } return true; }