Spread Windows Forms 7.0 Product Documentation
GetParseFormat Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetStyleModel Class : GetParseFormat Method


row
Row index of the cell
column
Column index of the cell
formatString
Format string
info
IFormatProvider object containing the formatting information

Glossary Item Box

Gets the parse format for the cell at the specified row and column.

Syntax

Visual Basic (Declaration) 
Public Sub GetParseFormat( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByRef formatString As String, _
   ByRef info As IFormatProvider _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetStyleModel
Dim row As Integer
Dim column As Integer
Dim formatString As String
Dim info As IFormatProvider
 
instance.GetParseFormat(row, column, formatString, info)
C# 
public void GetParseFormat( 
   int row,
   int column,
   ref string formatString,
   ref IFormatProvider info
)

Parameters

row
Row index of the cell
column
Column index of the cell
formatString
Format string
info
IFormatProvider object containing the formatting information

Return Value

The parse format string (formatString) and IFormatProvider for formatting that string (info) are returned by reference.

Exceptions

ExceptionDescription
System.IndexOutOfRangeException Specified row index is not valid; must be between -1 and the total number of rows
System.IndexOutOfRangeException Specified column index is not valid; must be between -1 and the total number of columns

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.