Spread Windows Forms 7.0 Product Documentation
GetHashCode Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : GetHashCode Method


Glossary Item Box

Gets the hash code of this object.

Syntax

Visual Basic (Declaration) 
Public Overrides Function GetHashCode() As Integer
Visual Basic (Usage)Copy Code
Dim instance As StyleInfo
Dim value As Integer
 
value = instance.GetHashCode()
C# 
public override int GetHashCode()

Return Value

Integer value of the hash code

Example

C#Copy Code
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
int i;
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
i = si.GetHashCode();
label1.Text = i.ToString();
Visual BasicCopy Code
Dim si As New FarPoint.Win.Spread.StyleInfo
Dim i As Integer
FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si
i = si.GetHashCode()
Label1.Text = i.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.