UnicastIPAddressInformationCollection.Contains Method (UnicastIPAddressInformation)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Checks whether the collection contains the specified UnicastIPAddressInformation object.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

public virtual bool Contains(
	UnicastIPAddressInformation address
)

Parameters

address
Type: System.Net.NetworkInformation.UnicastIPAddressInformation

The UnicastIPAddressInformation object to be searched in the collection.

Return Value

Type: System.Boolean

true if the UnicastIPAddressInformation object exists in the collection; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: