Contains Method
Collapse the table of content
Expand the table of content

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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft