VirtualizationCacheLength.Equals Method

Definition

Determines whether two objects are equal.

Overloads

Equals(Object)

Determines whether the specified object is equal to the current VirtualizationCacheLength.

Equals(VirtualizationCacheLength)

Determines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength.

Equals(Object)

Determines whether the specified object is equal to the current VirtualizationCacheLength.

C#
public override bool Equals(object oCompare);

Parameters

oCompare
Object

The object to compare with the current VirtualizationCacheLength.

Returns

true if the specified object is equal to the current VirtualizationCacheLength; otherwise, false.

Remarks

The VirtualizationCacheLength checks for value equality. That is, the two objects are equal if their CacheBeforeViewport property values are equal and their CacheAfterViewport property values are equal.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

Equals(VirtualizationCacheLength)

Determines whether the specified VirtualizationCacheLength is equal to the current VirtualizationCacheLength.

C#
public bool Equals(System.Windows.Controls.VirtualizationCacheLength cacheLength);

Parameters

cacheLength
VirtualizationCacheLength

The object to compare with the current VirtualizationCacheLength.

Returns

true if the specified object is equal to the current VirtualizationCacheLength; otherwise, false.

Implements

Remarks

The VirtualizationCacheLength checks for value equality. That is, the two objects are equal if their CacheBeforeViewport property values are equal and their CacheAfterViewport property values are equal.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10