DiscoveryClientReferenceCollection.Add Method (DiscoveryReference)
.NET Framework (current version)
Adds a DiscoveryReference to the DiscoveryClientReferenceCollection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- value
-
Type:
System.Web.Services.Discovery.DiscoveryReference
The DiscoveryReference to add to the DiscoveryClientReferenceCollection.
Dim myDiscoveryClientReferenceCollection As _ New DiscoveryClientReferenceCollection() Dim myContractReference As New ContractReference() Dim myStringUrl1 As String = "http://www.contoso.com/service1.disco" myContractReference.Ref = myStringUrl1 myDiscoveryClientReferenceCollection.Add(myContractReference)
.NET Framework
Available since 1.1
Available since 1.1
Show: