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) |
Parameters
- o
- Object to compare
Return Value
Boolean:
true if the objects are equivalent;
false otherwise
Remarks
Example
This example illustrates the use of this member by returning true if columns are equivalent.
C# | Copy Code |
---|
FarPoint.Win.Spread.Column col;
bool b;
col = fpSpread1.ActiveSheet.Columns[0];
b = col.Equals(fpSpread1.ActiveSheet.Columns[0]);
listBox1.Items.Add(b.ToString()); |
Visual Basic | Copy Code |
---|
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()) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also