コード例 #1
0
ファイル: jet_setinfo.cs プロジェクト: Rationalle/ravendb
 /// <summary>
 /// Gets the NATIVE_SETINFO structure that represents the object.
 /// </summary>
 /// <returns>A NATIVE_SETINFO structure whose fields match the class.</returns>
 internal NATIVE_SETINFO GetNativeSetinfo()
 {
     var setinfo = new NATIVE_SETINFO();
     setinfo.cbStruct = checked((uint) NATIVE_SETINFO.Size);
     setinfo.ibLongValue = checked((uint) this.ibLongValue);
     setinfo.itagSequence = checked((uint) this.itagSequence);
     return setinfo;
 }
コード例 #2
0
ファイル: jet_setinfo.cs プロジェクト: niratch/managed-esent
        /// <summary>
        /// Gets the NATIVE_SETINFO structure that represents the object.
        /// </summary>
        /// <returns>A NATIVE_SETINFO structure whose fields match the class.</returns>
        internal NATIVE_SETINFO GetNativeSetinfo()
        {
            var setinfo = new NATIVE_SETINFO();

            setinfo.cbStruct     = checked ((uint)NATIVE_SETINFO.Size);
            setinfo.ibLongValue  = checked ((uint)this.ibLongValue);
            setinfo.itagSequence = checked ((uint)this.itagSequence);
            return(setinfo);
        }