Bagikan melalui


UnicastIPAddressInformationCollection.Contains Metode

Definisi

Memeriksa apakah koleksi berisi objek yang ditentukan UnicastIPAddressInformation .

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

Parameter

address
UnicastIPAddressInformation

Objek UnicastIPAddressInformation yang akan dicari dalam koleksi.

Mengembalikan

true UnicastIPAddressInformation jika objek ada dalam koleksi; jika tidak, false.

Penerapan

Berlaku untuk