SessionChangeDescription.Equals SessionChangeDescription.Equals SessionChangeDescription.Equals SessionChangeDescription.Equals Method

Definition

Determines whether two session change descriptions are equal.

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current session change description.

Equals(SessionChangeDescription) Equals(SessionChangeDescription) Equals(SessionChangeDescription) Equals(SessionChangeDescription)

Determines whether the specified session change description is equal to the current session change description.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current session change description.

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 Object Object Object

The object to compare to the current SessionChangeDescription structure.

Returns

true if obj is equal to the current SessionChangeDescription structure; otherwise, false.

Remarks

The return value is false if obj is not a SessionChangeDescription or if it is null. Equality is determined by comparing the Reason and SessionId properties of the specified SessionChangeDescription structure to the Reason and SessionId properties of the current SessionChangeDescription structure. The two structures are considered equal if their properties are equal.

Equals(SessionChangeDescription) Equals(SessionChangeDescription) Equals(SessionChangeDescription) Equals(SessionChangeDescription)

Determines whether the specified session change description is equal to the current session change description.

public:
 bool Equals(System::ServiceProcess::SessionChangeDescription changeDescription);
public bool Equals (System.ServiceProcess.SessionChangeDescription changeDescription);
override this.Equals : System.ServiceProcess.SessionChangeDescription -> bool
Public Function Equals (changeDescription As SessionChangeDescription) As Boolean

Parameters

Returns

true if changeDescription is equal to the current SessionChangeDescription structure; otherwise, false.

Remarks

Equality is determined by comparing the Reason and SessionId properties of the specified SessionChangeDescription structure to the Reason and SessionId properties of the current SessionChangeDescription structure. The two structures are considered equal if their properties are equal.

Applies to