WebReferenceCollection Constructor ()

 

Initializes a new instance of the WebReferenceCollection class.

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

public:
WebReferenceCollection()

The following code example illustrates the use of this constructor. This code example is part of a larger example provided for the WebReferenceCollection class.

// Create a web reference collection.
WebReferenceCollection references = new WebReferenceCollection();
references.Add(reference);

.NET Framework
Available since 2.0
Return to top
Show: