Determines whether two styles (a specified object and a NamedStyle object) are equal.
Syntax
Visual Basic (Usage) | Copy Code |
---|
|
Parameters
- style
- NamedStyle object (one side of the inequality operator)
- o
- Object with which to compare the NamedStyle object (other side of the inequality operator)
Return Value
True if the specified object is equivalent to the NamedStyle object; false otherwise
Example
This example compares a NamedStyle object with another object for equality.
Visual Basic | Copy Code |
---|
Dim ns As New FarPoint.Win.Spread.NamedStyle()
Dim si As New FarPoint.Win.Spread.StyleInfo()
Dim b As Boolean
si.BackColor = Color.LightBlue
ns.CopyFrom(si)
b = ns.op_Equality(ns, si)
FpSpread1.ActiveSheet.DefaultStyle = ns
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