DiscoveryClientReferenceCollection::Remove Method (String^)

 

Removes a DiscoveryReference with the specified URL from the DiscoveryClientReferenceCollection.

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

public:
void Remove(
	String^ url
)

Parameters

url
Type: System::String^

A string that represents the URL for the object to remove from the DiscoveryClientReferenceCollection.

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

myDiscoveryClientReferenceCollection->Remove( myStringUrl );

.NET Framework
Available since 1.1
Return to top
Show: