/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.ObjectModel; namespace Microsoft.PowerShell.Commands { /// /// FormObjectCollection used in HtmlWebResponseObject /// public class FormObjectCollection : Collection { /// /// Gets the FormObject from the key /// /// /// public FormObject this[string key] { get { FormObject form = null; foreach (FormObject f in this) { if (string.Equals(key, f.Id, StringComparison.OrdinalIgnoreCase)) { form = f; break; } } return (form); } } } }