Edit

Share via


PageRange.Equals Method

Definition

Tests for equality with a PageRange object.

Overloads

Equals(Object)

Tests whether an object of unknown type is equal to this PageRange.

Equals(PageRange)

Tests whether a PageRange is equal to this PageRange.

Equals(Object)

Tests whether an object of unknown type is equal to this PageRange.

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 object tested.

Returns

true if the object is of type PageRange and is equal to this PageRange; otherwise, false.

Applies to

Equals(PageRange)

Tests whether a PageRange is equal to this PageRange.

public:
 bool Equals(System::Windows::Controls::PageRange pageRange);
public bool Equals (System.Windows.Controls.PageRange pageRange);
override this.Equals : System.Windows.Controls.PageRange -> bool
Public Function Equals (pageRange As PageRange) As Boolean

Parameters

pageRange
PageRange

The PageRange tested.

Returns

true if the two PageRange objects are equal; otherwise, false.

See also

Applies to