This documentation is archived and is not being maintained.

SoapHeaderCollection Members

SoapHeaderCollection overview

Public Constructors

public constructorSoapHeaderCollection Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the SoapHeaderCollection class.

Public Properties

public propertyCount (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Gets the number of elements contained in the CollectionBase instance.
public propertyItem Gets or sets the SoapHeader at the specified index of the SoapHeaderCollection.

In C#, this property is the indexer for the SoapHeaderCollection class.

Public Methods

public methodAdd

Supported by the .NET Compact Framework.

Adds a SoapHeader to the SoapHeaderCollection.
public methodClear (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Removes all objects from the CollectionBase instance.
public methodContains

Supported by the .NET Compact Framework.

Determines whether the SoapHeaderCollection contains a specific SoapHeader.
public methodCopyTo

Supported by the .NET Compact Framework.

Copies the elements of the SoapHeaderCollection to an Array, starting at a particular index of the Array.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Returns an enumerator that can iterate through the CollectionBase instance.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Determines the index of the SoapHeader in the SoapHeaderCollection.
public methodInsert

Supported by the .NET Compact Framework.

Inserts a SoapHeader into the SoapHeaderCollection at the specified index.
public methodRemove

Supported by the .NET Compact Framework.

Removes the first occurrence of a specific SoapHeader from the SoapHeaderCollection.
public methodRemoveAt (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Properties

protected propertyInnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
protected propertyList (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodOnClear (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes when clearing the contents of the CollectionBase instance.
protected methodOnClearComplete (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes after clearing the contents of the CollectionBase instance.
protected methodOnInsert (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes before inserting a new element into the CollectionBase instance.
protected methodOnInsertComplete (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes after inserting a new element into the CollectionBase instance.
protected methodOnRemove (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes when removing an element from the CollectionBase instance.
protected methodOnRemoveComplete (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes after removing an element from the CollectionBase instance.
protected methodOnSet (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes before setting a value in the CollectionBase instance.
protected methodOnSetComplete (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes after setting a value in the CollectionBase instance.
protected methodOnValidate (inherited from CollectionBase)

Supported by the .NET Compact Framework.

Performs additional custom processes when validating a value.

See Also

SoapHeaderCollection Class | System.Web.Services.Protocols Namespace

Show: