Exemplo n.º 1
0
 /// <summary>
 /// Searches for the specified WizardPage and returns the zero-based index
 /// of the first occurrence in the entire WizardPagesCollection.
 /// </summary>
 /// <param name="value">A WizardPage object to locate in the WizardPagesCollection.
 /// The value can be null.</param>
 /// <returns></returns>
 public int IndexOf(WizardPage value)
 {
     return(List.IndexOf(value));
 }
Exemplo n.º 2
0
        /// <summary>
        /// Adds an object to the end of the WizardPagesCollection.
        /// </summary>
        /// <param name="value">The WizardPage to be added.
        /// The value can be null.</param>
        /// <returns>An Integer value representing the index at which the value has been added.</returns>
        public int Add(WizardPage value)
        {
            int result = List.Add(value);

            return(result);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Removes the first occurrence of a specific object from the WizardPagesCollection.
 /// </summary>
 /// <param name="value">A WizardPage object to remove. The value can be null.</param>
 public void Remove(WizardPage value)
 {
     // remove the item
     List.Remove(value);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Determines whether an element is in the WizardPagesCollection.
 /// </summary>
 /// <param name="value">The WizardPage object to locate. The value can be null.</param>
 /// <returns>true if item is found in the WizardPagesCollection; otherwise, false.</returns>
 public bool Contains(WizardPage value)
 {
     return(List.Contains(value));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Inserts an element into the WizardPagesCollection at the specified index.
 /// </summary>
 /// <param name="index">An Integer value representing the zero-based index at which value should be inserted.</param>
 /// <param name="value">A WizardPage object to insert. The value can be null.</param>
 public void Insert(int index, WizardPage value)
 {
     // insert the item
     List.Insert(index, value);
 }