SoapHeaderCollection.Add Method (SoapHeader)

 
Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Function Add (
	header As SoapHeader
) As Integer

Return Value

Type: System.Int32

The position at which the SoapHeader was inserted.

mySoapHeader = New MySoapHeader()
mySoapHeader.text = "This is the second SOAP header"
mySoapHeaderCollection.Add(mySoapHeader)

.NET Framework
Available since 1.1
Return to top
Show: