public static void CopyInt16Property(PropertyContext pc, TableContext tc, int rowIndex, PropertyID propertyID) { Nullable <short> value = pc.GetInt16Property(propertyID); if (value.HasValue && tc.ContainsPropertyColumn(propertyID, PropertyTypeName.PtypInteger16)) { tc.SetInt16Property(rowIndex, propertyID, value.Value); } }