FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedStyle Class : GetHashCode Method |
'Declaration Public Overrides Function GetHashCode() As Integer
'Usage Dim instance As NamedStyle Dim value As Integer value = instance.GetHashCode()
public override int GetHashCode()
FarPoint.Win.Spread.NamedStyle ns = new FarPoint.Win.Spread.NamedStyle(); FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); int i; si.BackColor = Color.LightBlue; ns.CopyFrom(si); i = ns.GetHashCode(); listBox1.Items.Add(i.ToString()); fpSpread1.ActiveSheet.DefaultStyle = ns;
Dim ns As New FarPoint.Win.Spread.NamedStyle() Dim si As New FarPoint.Win.Spread.StyleInfo() Dim i As Integer si.BackColor = Color.LightBlue ns.CopyFrom(si) i = ns.GetHashCode() FpSpread1.ActiveSheet.DefaultStyle = ns ListBox1.Items.Add(i.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10