Overload | Description |
---|---|
GetStyleInfo(Int32,Int32) | Gets the style information for a specified cell on this sheet. |
GetStyleInfo(Int32,Int32,StyleInfo) | Gets the style information for a specified cell on this sheet using the specified StyleInfo object. |
If you use the overload with the StyleInfo parameter and pass in a StyleInfo object, then the style will be returned in that object. If you use the overload without the StyleInfo parameter (or use the overload with a null StyleInfo object), then a new StyleInfo is created and returned. The overload with the StyleInfo parameter allows you to optimize object creations and reuse the same StyleInfo object for repeated calls to the method.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
SheetView ClassSheetView Members
StyleInfo Class