Microsoft.Isam.Esent.Interop.JET_RETRIEVECOLUMN.UpdateFromNativeRetrievecolumn C# (CSharp) Метод

UpdateFromNativeRetrievecolumn() приватный Метод

Update the output members of the class from a NATIVE_RETRIEVECOLUMN structure. This should be done after the columns are retrieved.
private UpdateFromNativeRetrievecolumn ( NATIVE_RETRIEVECOLUMN native ) : void
native NATIVE_RETRIEVECOLUMN /// The structure containing the updated output fields. ///
Результат void
        internal void UpdateFromNativeRetrievecolumn(NATIVE_RETRIEVECOLUMN native)
        {
            this.cbActual = checked((int)native.cbActual);
            this.columnidNextTagged = new JET_COLUMNID { Value = native.columnidNextTagged };
            this.err = (JET_wrn) native.err;
        }

Usage Example

Пример #1
0
 public void VerifyUpdateFromNativeRetrievecolumnSetsCbactual()
 {
     var setcolumn = new JET_RETRIEVECOLUMN();
     var native = new NATIVE_RETRIEVECOLUMN { cbActual = 0x100 };
     setcolumn.UpdateFromNativeRetrievecolumn(native);
     Assert.AreEqual(0x100, setcolumn.cbActual);
 }
All Usage Examples Of Microsoft.Isam.Esent.Interop.JET_RETRIEVECOLUMN::UpdateFromNativeRetrievecolumn