System.Web.Services.Description.WebReferenceCollection.Add Method

Appends a System.Web.Services.Description.WebReference instance to the collection.

Syntax

public int Add (WebReference webReference)

Parameters

webReference
The Web reference to append.

Returns

The index of the appended Web reference.

Remarks

The index of the appended Web reference is greater by one than the index of the last appended Web reference. The index is zero based.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0