Add Method
Collapse the table of content
Expand the table of content

SoapHeaderCollection.Add Method (SoapHeader)

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

public int Add(
	SoapHeader header

Return Value

Type: System.Int32

The position at which the SoapHeader was inserted.

mySoapHeader = new MySoapHeader();
mySoapHeader.text = "This is the second SOAP header";

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft