Spread for ASP.NET 7.0 Product Documentation
Equals Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Row Class : Equals Method


o
Object to compare

Glossary Item Box

Determines whether the specified object is equivalent to this row.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Equals( _
   ByVal o As Object _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Row
Dim o As Object
Dim value As Boolean
 
value = instance.Equals(o)
C# 
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.
C#Copy Code
FarPoint.Web.Spread.Row r;
bool b;
r = FpSpread1.ActiveSheetView.Rows[0];
b = r.Equals(FpSpread1.ActiveSheetView.Rows[0])
Visual BasicCopy Code
Dim r As FarPoint.Web.Spread.Row
dim b as Boolean
r = FpSpread1.ActiveSheetView.Rows(0)
b = r.Equals(FpSpread1.ActiveSheetView.Rows(0))

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.