Rediger

Del via


IPNetwork.Equals Method

Definition

Overloads

Equals(IPNetwork)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether two IPNetwork instances are equal.

Equals(IPNetwork)

Source:
IPNetwork.cs
Source:
IPNetwork.cs

Indicates whether the current object is equal to another object of the same type.

public:
 virtual bool Equals(System::Net::IPNetwork other);
public bool Equals (System.Net.IPNetwork other);
override this.Equals : System.Net.IPNetwork -> bool
Public Function Equals (other As IPNetwork) As Boolean

Parameters

other
IPNetwork

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Exceptions

The IPNetwork instance is uninitialized.

Applies to

Equals(Object)

Source:
IPNetwork.cs
Source:
IPNetwork.cs

Determines whether two IPNetwork instances are equal.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The IPNetwork instance to compare to this instance.

Returns

true if obj is an IPNetwork instance and the networks are equal; otherwise false.

Exceptions

The IPNetwork instance is uninitialized.

Applies to