Determines whether the specified object is to this alternating row.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Function Equals( _
ByVal o As Object _
) As Boolean |
Parameters
- o
- Object to compare
Return Value
Boolean:
true if the objects are equivalent;
false otherwise
Remarks
Example
C# | Copy Code |
---|
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());
|
Visual Basic | Copy Code |
---|
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()) |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also