public void CopyFrom(XS_tablesType tablesType_in) { int _index = -1; this.tablecollection_.Clear(); for (int d = 0; d < tablesType_in.tablecollection_.Count; d++) { this.tablecollection_.Add( out _index, new XS_tableType() ); this.tablecollection_[_index].CopyFrom( tablesType_in.tablecollection_[d] ); } }