Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Cell Dim o As Object Dim value As Boolean value = instance.Equals(o) |
Parameters
- o
- Object to compare
Return Value
Boolean: true if the objects are equivalent; false otherwiseThis method determines if the specified object is equivalent to this Cell object, that is, if it represents the same cell or group of cells in the same sheet.
This example illustrates the use of this member by returning true if the specified object is equivalent to this Cell object, that is, if it represents the same cell or group of cells in the same sheet.
C# | ![]() |
---|---|
FarPoint.Win.Spread.Cell aCell; object o; bool b; o = fpSpread1.ActiveSheet.Cells[0, 0]; aCell = (FarPoint.Win.Spread.Cell)o; b = aCell.Equals(o); listBox1.Items.Add(b.ToString()); |
Visual Basic | ![]() |
---|---|
Dim aCell As FarPoint.Win.Spread.Cell Dim b As Boolean Dim o As Object o = FpSpread1.ActiveSheet.Cells(0, 0) aCell = o b = aCell.Equals(o) ListBox1.Items.Add(b.ToString()) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2