Inserts a System.Web.Services.Protocols.SoapHeader into the System.Web.Services.Protocols.SoapHeaderCollection at the specified index.
- index
- The zero-based index at which to insert the System.Web.Services.Protocols.SoapHeader into the System.Web.Services.Protocols.SoapHeaderCollection.
- header
- The System.Web.Services.Protocols.SoapHeader to insert into the System.Web.Services.Protocols.SoapHeaderCollection.
If the index parameter equals the number of items in the collection, then the System.Web.Services.Protocols.SoapHeader is appended to the end of the collection.
The System.Web.Services.Protocols.SoapHeader elements after the insertion point move down to accommodate the new element.