DiscoveryClientReferenceCollection::Add Method (String^, DiscoveryReference^)

 

Adds a DiscoveryReference with the specified URL and value to the DiscoveryClientReferenceCollection.

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

public:
void Add(
	String^ url,
	DiscoveryReference^ value
)

DiscoveryDocumentReference^ myDiscoveryDocumentReference = gcnew DiscoveryDocumentReference;
String^ myStringUrl = "http://www.contoso.com/service.disco";
myDiscoveryClientReferenceCollection->Add( myStringUrl, myDiscoveryDocumentReference );

.NET Framework
Available since 1.1
Return to top
Show: