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


o
Object to compare

Glossary Item Box

Determines whether the specified object is equivalent to this column.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Equals( _
   ByVal o As Object _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Column
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

Example

This example illustrates the use of this member by returning true if the specified object is equivalent to this Column object (if they represent the same column in the same sheet).
C#Copy Code
FarPoint.Web.Spread.Column col;
bool b;
col = FpSpread1.ActiveSheetView.Columns[0];
b = col.Equals(FpSpread1.ActiveSheetView.Columns[0]);
ListBox1.Items.Add(b.ToString());
Visual BasicCopy Code
Dim col As FarPoint.Web.Spread.Column
Dim b As Boolean
col = FpSpread1.ActiveSheetView.Columns(0)
b = col.Equals(FpSpread1.ActiveSheetView.Columns(0))
ListBox1.Items.Add(b.ToString())

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.