Spread for ASP.NET 11 Product Documentation
Equals Method (Row)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Row Class : Equals Method
Object to compare
Determines whether the specified object is equivalent to this row.
Syntax
'Declaration
 
Public Overrides Function Equals( _
   ByVal o As Object _
) As Boolean
'Usage
 
Dim instance As Row
Dim o As Object
Dim value As Boolean
 
value = instance.Equals(o)
public override bool Equals( 
   object o
)

Parameters

o
Object to compare

Return Value

true if the objects are equivalent; false otherwise
Remarks
Returns true if the specified object is equivalent to this alternating row; that is, if they represent the same alternating row in the same sheet.
Example
This example queries whether the Row object is equal to the row in the sheet.
FarPoint.Web.Spread.Row r;
bool b;
r = FpSpread1.ActiveSheetView.Rows[0];
b = r.Equals(FpSpread1.ActiveSheetView.Rows[0])
Dim r As FarPoint.Web.Spread.Row
dim b as Boolean
r = FpSpread1.ActiveSheetView.Rows(0)
b = r.Equals(FpSpread1.ActiveSheetView.Rows(0))
See Also

Reference

Row Class
Row Members