Spread for ASP.NET 7.0 Product Documentation
GetHashCode Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class : GetHashCode Method


Glossary Item Box

Returns the hash code of this object.

Syntax

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

Return Value

Integer representing the hash code

Example

This example returns the hash code for the skin.
C#Copy Code
FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat,Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Color.Empty,Color.Empty, false, false, true, true, true); 
sk.Apply(FpSpread1); 
 
Response.Write(sk.GetHashCode().ToString());
Visual BasicCopy Code
Dim sk As New FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen,GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Nothing, Nothing, False, False, True, True,True)
sk.Apply(FpSpread1)
 
Response.Write(sk.GetHashCode().ToString())

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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