'Usage Dim instance As AlternatingRow 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 otherwise
'Usage Dim instance As AlternatingRow Dim o As Object Dim value As Boolean value = instance.Equals(o)
FarPoint.Web.Spread.AlternatingRow ar; FarPoint.Web.Spread.NamedStylens = new FarPoint.Web.Spread.NamedStyle("TestStyle"); ns.BackColor = Color.Yellow; ns.Parent = "DataAreaDefault;" ar = FpSpread1.ActiveSheetView.AlternatingRows[0]; ar.StyleName = "TestStyle"; FpSpread1.NamedStyles.Add(ns); bool b; b = ar.Equals(FpSpread1.ActiveSheetView.AlternatingRows[0]); Response.Write(b.ToString());
Dim ar As FarPoint.Web.Spread.AlternatingRow Dim ns As New FarPoint.Web.Spread.NamedStyle("TestStyle") ns.BackColor = Color.Yellow ns.Parent = "DataAreaDefault" ar = FpSpread1.ActiveSheetView.AlternatingRows(0) ar.StyleName = "TestStyle" FpSpread1.NamedStyles.Add(ns) Dim b As Boolean b = ar.Equals(FpSpread1.ActiveSheetView.AlternatingRows(0)) Response.Write(b.ToString())