This collection of Import objects is used by the Imports property of the ServiceDescription class to specify XML namespaces for a WSDL document. You can retrieve an individual Import object by index number.
public sealed class ImportCollection : ServiceDescriptionBaseCollection { // Public Instance Properties public Import this[int index]{set; get; } // Public Instance Methods public int Add(Import import); public bool Contains(Import import); public void CopyTo(Import[ ] array, int index); public int IndexOf(Import import); public void Insert(int index, Import import); public void Remove(Import import); // Protected Instance Methods protected override void SetParent(object value, object parent); // overrides ServiceDescriptionBaseCollection }