Bewerken

Share via


IPPacketInformation.Equals Method

Definition

Overloads

Equals(IPPacketInformation)

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

Equals(Object)

Returns a value that indicates whether this instance is equal to a specified object.

Equals(IPPacketInformation)

Source:
IPPacketInformation.cs
Source:
IPPacketInformation.cs
Source:
IPPacketInformation.cs

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

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

Parameters

other
IPPacketInformation

An instance to compare with this instance.

Returns

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

Implements

Applies to

Equals(Object)

Source:
IPPacketInformation.cs
Source:
IPPacketInformation.cs
Source:
IPPacketInformation.cs

Returns a value that indicates whether this instance is equal to a specified object.

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

Parameters

comparand
Object

The object to compare with this instance.

Returns

true if comparand is an instance of IPPacketInformation and equals the value of the instance; otherwise, false.

Applies to