ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 364
نمايش فراداده

SoapHeaderCollection

System.Web.Services.Protocols (system.web.services.dll)class

This class contains a collection of SoapHeader objects. It is used for the SoapMessage.Headers property, which contains all the headers in a single SOAP request or response message.

public class 

SoapHeaderCollection : CollectionBase { // Public Constructors public

SoapHeaderCollection ( ); // Public Instance Properties public SoapHeader

this [int

index ]{set; get; } // Public Instance Methods public int

Add (SoapHeader

header ); public bool

Contains (SoapHeader

header ); public void

CopyTo (SoapHeader[ ]

array , int

index ); public int

IndexOf (SoapHeader

header ); public void

Insert (int

index , SoapHeader

header ); public void

Remove (SoapHeader

header ); }

Hierarchy

System.Object System.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable) SoapHeaderCollection

Returned By

SoapMessage.Headers