public static void CopyInt64Property(PropertyContext pc, TableContext tc, int rowIndex, PropertyID propertyID) { Nullable <long> value = pc.GetInt64Property(propertyID); if (value.HasValue && tc.ContainsPropertyColumn(propertyID, PropertyTypeName.PtypInteger64)) { tc.SetInt64Property(rowIndex, propertyID, value.Value); } }