IPNetwork.Contains(IPAddress) Methode

Definitie

Bepaalt of een gegeven IPAddress deel uitmaakt van het netwerk.

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

Parameters

address
IPAddress

De IPAddress te controleren.

Retouren

trueals het IPAddress deel uitmaakt van het netwerk; anders. false

Uitzonderingen

De opgegeven address is null.

Van toepassing op