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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
SheetView ClassSheetView Members
StyleInfo Class