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


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

Return Value

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

Reference

StyleInfo Class
StyleInfo Members