Spread ASP.NET 6.0 Product Documentation
GetHashCode Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo 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 StyleInfo
Dim value As Integer
 
value = instance.GetHashCode()
C# 
public override int GetHashCode()

Return Value

Integer with the hash code

Example

This example returns the hash code for the style.
C#Copy Code
FarPoint.Web.Spread.StyleInfo si = new FarPoint.Web.Spread.StyleInfo("HeaderDefault"); 
si.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red); 
FpSpread1.ActiveSheetView..ColumnHeader.DefaultStyle = si;  
 
Response.Write(si.GetHashCode().ToString());
Visual BasicCopy Code
Dim si As New FarPoint.Web.Spread.StyleInfo("HeaderDefault")
si.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red)
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = si
 
Response.Write(si.GetHashCode().ToString())

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.