DiscoveryClientResultCollection.Contains Method (DiscoveryClientResult)

 

Determines whether the DiscoveryClientResultCollection contains a specific DiscoveryClientResult.

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

Public Function Contains (
	value As DiscoveryClientResult
) As Boolean

Return Value

Type: System.Boolean

true if the DiscoveryClientResult is found in the DiscoveryClientResultCollection; otherwise, false.

If myDiscoveryClientResultCollection.Contains( _ 
    myDiscoveryClientResult) Then

    Console.WriteLine( _
        "The collection contains the specified " & _
        "DiscoveryClientResult' instance.")

End If

.NET Framework
Available since 1.1
Return to top
Show: