GatewayIPAddressInformationCollection.Contains Method

Definition

Checks whether the collection contains the specified GatewayIPAddressInformation object.

public:
 virtual bool Contains(System::Net::NetworkInformation::GatewayIPAddressInformation ^ address);
public virtual bool Contains (System.Net.NetworkInformation.GatewayIPAddressInformation address);
abstract member Contains : System.Net.NetworkInformation.GatewayIPAddressInformation -> bool
override this.Contains : System.Net.NetworkInformation.GatewayIPAddressInformation -> bool
Public Overridable Function Contains (address As GatewayIPAddressInformation) As Boolean

Parameters

address
GatewayIPAddressInformation

The GatewayIPAddressInformation object to be searched in the collection.

Returns

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

Implements

Applies to