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.
DiscoveryClientReferenceCollection^ myDiscoveryClientReferenceCollection = gcnew DiscoveryClientReferenceCollection; ContractReference^ myContractReference = gcnew ContractReference; String^ myStringUrl1 = "http://www.contoso.com/service1.disco"; myContractReference->Ref = myStringUrl1; myDiscoveryClientReferenceCollection->Add( myContractReference );
.NET Framework
Available since 1.1
Available since 1.1
Show: