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 Sub Remove (
	url As String
)

Parameters

url
Type: System.String

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

Dim myDiscoveryDocumentReference As New DiscoveryDocumentReference()
Dim myStringUrl As String = "http://www.contoso.com/service.disco"
myDiscoveryClientReferenceCollection.Add(myStringUrl, _
    myDiscoveryDocumentReference)
myDiscoveryClientReferenceCollection.Remove(myStringUrl)

.NET Framework
Available since 1.1
Return to top
Show: