Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft