Spread for ASP.NET 11 Product Documentation
GetHashCode Method (SheetSkin)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class : GetHashCode Method
Returns the hash code of this object.
Syntax
'Declaration
 
Public Overrides Function GetHashCode() As Integer
'Usage
 
Dim instance As SheetSkin
Dim value As Integer
 
value = instance.GetHashCode()
public override int GetHashCode()

Return Value

Integer representing the hash code
Example
This example returns the hash code for the skin.
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());
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())
See Also

Reference

SheetSkin Class
SheetSkin Members