共用方式為


IPNetwork.Equality(IPNetwork, IPNetwork) 運算子

定義

判斷的指定實例 IPNetwork 是否相等。

public:
 static bool operator ==(System::Net::IPNetwork left, System::Net::IPNetwork right);
public static bool operator == (System.Net.IPNetwork left, System.Net.IPNetwork right);
static member ( = ) : System.Net.IPNetwork * System.Net.IPNetwork -> bool
Public Shared Operator == (left As IPNetwork, right As IPNetwork) As Boolean

參數

left
IPNetwork

要比較的第一個物件。

right
IPNetwork

要比較的第二個物件。

傳回

true 如果網路相等,則為 ;否則 false為 。

適用於