FarPoint.Web.Spread 名前空間 > NamedStyle クラス : 等価判定演算子 オペレータ |
'Declaration
Public Operator =( _ ByVal style As NamedStyle, _ ByVal o As Object _ ) As Boolean
public bool operator ==( NamedStyle style, object o )
[No equivalent in C#]
Dim ns As New FarPoint.Web.Spread.NamedStyle() Dim si As New FarPoint.Web.Spread.StyleInfo() Dim b As Boolean si.BackColor = Color.LightBlue ns.CopyFrom(si) b = ns.opEquality(ns, si) FpSpread1.ActiveSheetView.DefaultStyle = ns ListBox1.Items.Add(b.ToString())