Size3D.Equals Method (Object)
.NET Framework 4.6 and 4.5
Determines whether the specified object is a Size3D structure and whether the X, Y and Z properties of the specified Object are equal to the X, Y and Z properties of this Size3D structure.
PresentationCore (in PresentationCore.dll)
public override bool Equals(
true if instances are equal; otherwise, false.
true if o is a Size3D structure and is identical with this Size3D structure; otherwise, false.
Because Double values can lose precision when arithmetic operations are performed on them, a comparison between two Size3D instances that are logically equal might fail.
The following example shows how to check if an Object and a Size3D structure are equal.
Return to top
Available since 3.0
(1500 characters remaining)
Thank you for your feedback