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.

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:
bool Contains(
	DiscoveryClientResult^ value
)

Return Value

Type: System::Boolean

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

if ( myDiscoveryClientResultCollection->Contains( myDiscoveryClientResult ) )
{
   Console::WriteLine( "The collection contains the specified "
   "DiscoveryClientResult instance." );
}

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft