OpenQA.Selenium.IE.SafeStringWrapperHandle.ReleaseHandle C# (CSharp) Method

ReleaseHandle() protected method

Releases the instance of the Wrapper
protected ReleaseHandle ( ) : bool
return bool
        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;
        }