FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > NamedStyle クラス : 等価判定演算子 オペレータ |
'Declaration Public Operator =( _ ByVal style As NamedStyle, _ ByVal o As Object _ ) As Boolean
'使用法
public bool operator ==( NamedStyle style, object o )
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())