public int Search(XS_tableUpdateType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_tableUpdateType)this.cols_[i]) #else this.cols_[i] #endif .Name.Equals( collectionItem_in.Name, StringComparison.CurrentCulture ) ) ) { return(i); } } return(-1); }
public void CopyFrom(XS_tableUpdateType tableUpdateType_in) { this.name_ = tableUpdateType_in.name_; if (tableUpdateType_in.tableupdateparameters__ != null) { this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__); } }
public void CopyFrom(XS_tableUpdateType tableUpdateType_in) { this.name_ = tableUpdateType_in.name_; if (tableUpdateType_in.tableupdateparameters__ != null) this.tableupdateparameters__.CopyFrom(tableUpdateType_in.tableupdateparameters__); }
public int Search(XS_tableUpdateType collectionItem_in) { for (int i = 0; i < this.cols_.Count; i++) { if ( ( #if NET_1_1 ((XS_tableUpdateType)this.cols_[i]) #else this.cols_[i] #endif .Name.Equals( collectionItem_in.Name, StringComparison.CurrentCulture ) ) ) { return i; } } return -1; }