IPNetwork.Contains(IPAddress) Método

Definición

Determina si un determinado IPAddress forma parte de la red.

public:
 bool Contains(System::Net::IPAddress ^ address);
public bool Contains (System.Net.IPAddress address);
member this.Contains : System.Net.IPAddress -> bool
Public Function Contains (address As IPAddress) As Boolean

Parámetros

address
IPAddress

IPAddress que se va a comprobar.

Devoluciones

true es si forma IPAddress parte de la red; de lo contrario, falsees .

Excepciones

El address especificado es null.

Se aplica a