Spread Windows Forms 12.0 Product Documentation
Equals Method (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : Equals Method
Object to compare
Determines whether the specified object is equivalent to this column.
Syntax
'Declaration
 
Public Overrides Function Equals( _
   ByVal o As Object _
) As Boolean
'Usage
 
Dim instance As Column
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

Boolean: true if the objects are equivalent; false otherwise
Remarks

This method determines if the specified object is equivalent to this Column object, that is, if it represents the same column or group of columns in the same sheet.

Example
This example illustrates the use of this member by returning true if columns are equivalent.
FarPoint.Win.Spread.Column col;
bool b;
col = fpSpread1.ActiveSheet.Columns[0];
b = col.Equals(fpSpread1.ActiveSheet.Columns[0]);
listBox1.Items.Add(b.ToString());
Dim col As FarPoint.Win.Spread.Column
Dim b As Boolean
col = fpSpread1.ActiveSheet.Columns(0)
b = col.Equals(fpSpread1.ActiveSheet.Columns(0))
ListBox1.Items.Add(b.ToString())
See Also

Reference

Column Class
Column Members