コード例 #1
0
        /// <summary>
        /// Adds the specified SortColumn to the end of the collection
        /// </summary>
        /// <param name="sortColumn">The SortColumn to add</param>
        public int Add(SortColumn sortColumn)
        {
            if (sortColumn == null)
            {
                throw new System.ArgumentNullException("SortColumn is null");
            }

            int index = this.List.Add(sortColumn);

            return index;
        }
コード例 #2
0
        /// <summary>
        /// Adds the specified SortColumn to the end of the collection
        /// </summary>
        /// <param name="sortColumn">The SortColumn to add</param>
        public int Add(SortColumn sortColumn)
        {
            if (sortColumn == null)
            {
                throw new System.ArgumentNullException("SortColumn is null");
            }

            int index = this.List.Add(sortColumn);

            return(index);
        }