/// <summary>
        /// Reads a directory item from the configuration node and returns a new instance of SecureWebPageDirectory.
        /// </summary>
        /// <param name="node">The XmlNode to read from.</param>
        /// <returns>A SecureWebPageDirectory initialized with values read from the node.</returns>
        protected SecureWebPageDirectory ReadDirectoryItem(XmlNode node)
        {
            // Create a SecureWebPageDirectory instance
            SecureWebPageDirectory Item = new SecureWebPageDirectory();

            // Read the typical attributes
            ReadChildItem(node, Item);

            // Check for a recurse attribute
            if (node.Attributes["recurse"] != null)
            {
                Item.Recurse = (node.Attributes["recurse"].Value.ToLower() == "true");
            }

            return(Item);
        }
 /// <summary>
 /// Inserts an item into the collection at the specified index.
 /// </summary>
 /// <param name="index">The index to insert the item at.</param>
 /// <param name="item">The item to insert.</param>
 public void Insert(int index, SecureWebPageDirectory item)
 {
     List.Insert(index, item);
 }
 /// <summary>
 /// Removes an item from the collection.
 /// </summary>
 /// <param name="item">The item to remove.</param>
 public void Remove(SecureWebPageDirectory item)
 {
     List.Remove(item);
 }
 /// <summary>
 /// Adds the item to the collection.
 /// </summary>
 /// <param name="item">The item to add.</param>
 public int Add(SecureWebPageDirectory item)
 {
     return(List.Add(item));
 }