GetNativeSetinfo() private method

Gets the NATIVE_SETINFO structure that represents the object.
private GetNativeSetinfo ( ) : NATIVE_SETINFO
return NATIVE_SETINFO
Exemplo n.º 1
0
        public void ConvertSetinfoToNative()
        {
            var setinfo = new JET_SETINFO { ibLongValue = 1, itagSequence = 2 };

            NATIVE_SETINFO native = setinfo.GetNativeSetinfo();
            Assert.AreEqual(1U, native.ibLongValue);
            Assert.AreEqual(2U, native.itagSequence);
        }
Exemplo n.º 2
0
        public void ConvertSetinfoToNativeWhenItagSequenceIsNegative()
        {
            var setinfo = new JET_SETINFO { ibLongValue = 0, itagSequence = Int32.MinValue };

            NATIVE_SETINFO native = setinfo.GetNativeSetinfo();
        }