Adds the specified System.Web.Services.Description.ServiceDescriptionFormatExtension to the System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection at the specified zero-based index.
- index
- The zero-based index at which to insert the extension parameter.
- extension
- The System.Web.Services.Description.ServiceDescriptionFormatExtension to add to the collection.
If the number of items in the collection already equals the collection's capacity, the capacity is doubled by automatically reallocating the internal array before the new element is inserted.
If the index parameter is equal to CollectionBase.Count, the extension parameter is added to the end of the System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection.
The elements after the insertion point move down to accommodate the new element.