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
This example assigns an alternating row object to the first alternating row in the active sheet.
C# | Copy Code |
---|
FarPoint.Win.Spread.AlternatingRow altrow;
bool b;
altrow = fpSpread1.ActiveSheet.AlternatingRows[0];
altrow.BackColor = Color.Red;
b = altrow.Equals(fpSpread1.ActiveSheet.AlternatingRows[0]);
listBox1.Items.Add(b.ToString()); |
Visual Basic | Copy Code |
---|
Dim altrow As FarPoint.Win.Spread.AlternatingRow
Dim b As Boolean
altrow = FpSpread1.ActiveSheet.AlternatingRows(0)
altrow.BackColor = Color.Red
b = altrow.Equals(FpSpread1.ActiveSheet.AlternatingRows(0))
ListBox1.Items.Add(b.ToString()) |
Requirements
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
See Also