Equals Method

SizeF.Equals Method (Object)

 

Tests to see whether the specified object is a SizeF structure with the same dimensions as this SizeF structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public override bool Equals(
	object obj
)

Parameters

obj
Type: System.Object

The Object to test.

Return Value

Type: System.Boolean

This method returns true if obj is a SizeF and has the same width and height as this SizeF; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft