Spread Windows Forms 7.0 Product Documentation
Inequality Operator
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedStyle Class : Inequality Operator

style
NamedStyle object (one side of the inequality operator)
o
Object with which to compare the NamedStyle object (other side of the inequality operator)

Glossary Item Box

Determines whether two styles (a specified object and a NamedStyle object) are not equal.

Syntax

Visual Basic (Declaration) 
Public Operator <>( _
   ByVal style As NamedStyle, _
   ByVal o As Object _
) As Boolean
Visual Basic (Usage)Copy Code
C# 
public bool operator !=( 
   NamedStyle style,
   object o
)

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 not equivalent to the NamedStyle object; false otherwise

Example

This example compares a NamedStyle object with another object for inequality.
Visual BasicCopy 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_Inequality(ns, si)
FpSpread1.ActiveSheet.DefaultStyle = ns
ListBox1.Items.Add(b.ToString())

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.