Microsoft.Isam.Esent.Interop.JET_RETINFO.GetNativeRetinfo C# (CSharp) Method

GetNativeRetinfo() private method

Get a NATIVE_RETINFO structure representing the object.
private GetNativeRetinfo ( ) : NATIVE_RETINFO
return NATIVE_RETINFO
        internal NATIVE_RETINFO GetNativeRetinfo()
        {
            var retinfo = new NATIVE_RETINFO();
            retinfo.cbStruct = checked((uint) NATIVE_RETINFO.Size);
            retinfo.ibLongValue = checked((uint) this.ibLongValue);
            retinfo.itagSequence = checked((uint) this.itagSequence);
            return retinfo;
        }

Usage Example

Example #1
0
        public void ConvertRetinfoToNative()
        {
            var retinfo = new JET_RETINFO { ibLongValue = 1, itagSequence = 2 };

            NATIVE_RETINFO native = retinfo.GetNativeRetinfo();
            Assert.AreEqual(1U, native.ibLongValue);
            Assert.AreEqual(2U, native.itagSequence);
        }
All Usage Examples Of Microsoft.Isam.Esent.Interop.JET_RETINFO::GetNativeRetinfo