GatewayIPAddressInformationCollection::Contains Method (GatewayIPAddressInformation^)

 

Checks whether the collection contains the specified GatewayIPAddressInformation object.

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

public:
virtual bool Contains(
	GatewayIPAddressInformation^ address
)

Parameters

address
Type: System.Net.NetworkInformation::GatewayIPAddressInformation^

The GatewayIPAddressInformation object to be searched in the collection.

Return Value

Type: System::Boolean

true if the GatewayIPAddressInformation object exists in the collection; otherwise false.

.NET Framework
Available since 2.0
Return to top
Show: