Spread ASP.NET 6.0 Product Documentation
Equals Method
See Also  Example Send Feedback
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 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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.