Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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