public void CopyFrom(XS_sequenceType sequenceType_in) { int _index = -1; this.elementcollection_.Clear(); for (int d = 0; d < sequenceType_in.elementcollection_.Count; d++) { this.elementcollection_.Add( out _index, new XS_elementType() ); this.elementcollection_[_index].CopyFrom( sequenceType_in.elementcollection_[d] ); } }