Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 = gcnew MySoapHeader;
mySoapHeader->text = "This is the second SOAP header";
mySoapHeaderCollection->Add( mySoapHeader );

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft