コード例 #1
0
        public void CopyFrom(XS_tableFieldType tableFieldType_in)
        {
            int _index = -1;

            name_                = tableFieldType_in.name_;
            isviewpk_            = tableFieldType_in.isviewpk_;
            defaultvalue_        = tableFieldType_in.defaultvalue_;
            friendlyname_        = tableFieldType_in.friendlyname_;
            extendeddescription_ = tableFieldType_in.extendeddescription_;
            islistitemvalue_     = tableFieldType_in.islistitemvalue_;
            islistitemtext_      = tableFieldType_in.islistitemtext_;
        }
コード例 #2
0
        public int Search(XS_tableFieldType collectionItem_in)
        {
            for (int i = 0; i < cols_.Count; i++)
            {
                if (
                    (
                                                #if NET_1_1
                        ((XS_tableFieldType)cols_[i])
                                                #else
                        cols_[i]
                                                #endif
                        .Name.ToLower()
                        ==
                        collectionItem_in.Name.ToLower()
                    )

                    )
                {
                    return(i);
                }
            }

            return(-1);
        }
コード例 #3
0
		public int Search(XS_tableFieldType collectionItem_in) {
			for (int i = 0; i < cols_.Count; i++) {
				if (
					(
						#if NET_1_1
						((XS_tableFieldType)cols_[i])
						#else
						cols_[i]
						#endif
							.Name.ToLower()
						==
						collectionItem_in.Name.ToLower()
					)
					
				) {
					return i;
				}
			}

			return -1;
		}