/// <summary>
		/// Add an element of the specified <see cref="NodeImage">NodeImage</see> to the end of the collection.
		/// </summary>
		/// <param name="value">An object of type <see cref="NodeImage">NodeImage</see> to add to the collection.</param>
		public int Add(NodeImage value)
		{
			int index = List.Add(value);
			if (m_isTrackingViewState)
			{
				value.TrackViewState();
				value.SetDirty();
			}
			return index;
		}
Beispiel #2
0
        /// <summary>
        /// Add an element of the specified <see cref="NodeImage">NodeImage</see> to the end of the collection.
        /// </summary>
        /// <param name="value">An object of type <see cref="NodeImage">NodeImage</see> to add to the collection.</param>
        public int Add(NodeImage value)
        {
            int index = List.Add(value);

            if (m_isTrackingViewState)
            {
                value.TrackViewState();
                value.SetDirty();
            }
            return(index);
        } //Add