Parameters
- o
- Object to compare
Return Value
true if the objects are equivalent; false otherwise
Returns 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.
FarPoint.Web.Spread.Cell mycell; FarPoint.Web.Spread.Cell acell; mycell = FpSpread1.Cells[0, 0]; mycell.BackColor = Color.RoyalBlue; mycell.ForeColor = Color.White; mycell.Border = new FarPoint.Web.Spread.Border(System.Web.UI.WebControls.BorderStyle.Double, Color.DarkBlue, 2); mycell.CellType = new FarPoint.Web.Spread.CheckBoxCellType(); acell = mycell; bool b; b = acell.Equals(mycell); Response.Write(b.ToString());
Dim mycell As FarPoint.Web.Spread.Cell Dim acell As FarPoint.Web.Spread.Cell mycell = FpSpread1.Cells(0, 0) mycell.BackColor = Color.RoyalBlue mycell.ForeColor = Color.White mycell.Border = New FarPoint.Web.Spread.Border(System.Web.UI.WebControls.BorderStyle.Double, Color.DarkBlue, 2) mycell.CellType = New FarPoint.Web.Spread.CheckBoxCellType acell = mycell Dim b As Boolean b = acell.Equals(mycell) Response.Write(b.ToString())