public void CopyFrom(XS_tableSearchesType tableSearchesType_in) { int _index = -1; this.tablesearchcollection_.Clear(); for (int d = 0; d < tableSearchesType_in.tablesearchcollection_.Count; d++) { this.tablesearchcollection_.Add( out _index, new XS_tableSearchType() ); this.tablesearchcollection_[_index].CopyFrom( tableSearchesType_in.tablesearchcollection_[d] ); } }